[PATCH] fixup Documentation/DocBook/kernel-hacking.tmpl

From: Christoph Hellwig
Date: Tue Sep 20 2005 - 15:49:17 EST


__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@xxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/