Messages in this thread | | | Date | Wed, 4 Feb 2015 15:05:34 -0800 | From | Andrew Morton <> | Subject | Re: [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 :)
| |