lkml.org 
[lkml]   [2015]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack
On Wed, 04 Feb 2015 14:49:17 -0800 Joe Perches <joe@perches.com> wrote:

> trivia about macros vs c99 predefined identifiers below:
>
> > diff -puN include/acpi/acoutput.h~kernelh-remove-ancient-__function__-hack-fix include/acpi/acoutput.h
> []
> > @@ -240,7 +240,7 @@
> > /*
> > * If ACPI_GET_FUNCTION_NAME was not defined in the compiler-dependent header,
> > * define it now. This is the case where there the compiler does not support
> > - * a __FUNCTION__ macro or equivalent.
> > + * a __func__ macro or equivalent.
>
> Do these still make sense? __func__ isn't a macro.

Yeah, but I was too lazy to think up more appropriate text. Hey, it's
only ACPI :)



\
 
 \ /
  Last update: 2015-02-05 00:21    [W:0.041 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site