Messages in this thread Patch in this message | | | Date | Tue, 20 Sep 2005 22:48:07 +0200 | From | Christoph Hellwig <> | 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/
| |