lkml.org 
[lkml]   [2008]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] misc: replace remaining __FUNCTION__ with __func__
Harvey Harrison wrote:
> __FUNCTION__ is gcc-specific, use __func__
>
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> ---
> These are the last occurences in-tree that are not already coming
> through a subsystem tree.
>
> xtensa, staging and blackfin (serial driver and a fb driver) will
> catch the remaining ones as they merge.
>
> Documentation/DocBook/kernel-hacking.tmpl | 2 +-
> arch/arm/mach-iop13xx/include/mach/time.h | 4 ++--
> arch/arm/mach-pxa/include/mach/zylonite.h | 4 ++--
> arch/powerpc/include/asm/ptrace.h | 2 +-
> drivers/net/usb/pegasus.c | 4 ++--
> 5 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/DocBook/kernel-hacking.tmpl b/Documentation/DocBook/kernel-hacking.tmpl
> index 4c63e58..ae15d55 100644
> --- a/Documentation/DocBook/kernel-hacking.tmpl
> +++ b/Documentation/DocBook/kernel-hacking.tmpl
> @@ -1105,7 +1105,7 @@ static struct block_device_operations opt_fops = {
> </listitem>
> <listitem>
> <para>
> - Function names as strings (__FUNCTION__).
> + Function names as strings (__func__).
> </para>
> </listitem>
> <listitem>

Ack that part.

Thanks.


\
 
 \ /
  Last update: 2008-10-21 01:05    [W:0.032 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site