lkml.org 
[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fixup Documentation/DocBook/kernel-hacking.tmpl
__FUNCTION__ is the prefered kernel idiom, __func__ is not supported by
gcc 2.95 (we actually map __FUNCTION__ to __func__ for more recent
compilers, but it should never be used directly)


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/Documentation/DocBook/kernel-hacking.tmpl
===================================================================
--- linux-2.6.orig/Documentation/DocBook/kernel-hacking.tmpl 2005-09-11 15:19:18.000000000 +0200
+++ linux-2.6/Documentation/DocBook/kernel-hacking.tmpl 2005-09-15 13:38:06.000000000 +0200
@@ -1105,7 +1105,7 @@
</listitem>
<listitem>
<para>
- Function names as strings (__func__).
+ Function names as strings (__FUNCTION__).
</para>
</listitem>
<listitem>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-09-20 22:51    [W:0.015 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site