Skip to contentSkip to conversation

fixup Documentation/DocBook/kernel-hacking.tmpl

PATCH New Christoph Hellwig 1 participant 1 message Sep 20, 2005 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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)

Documentation/DocBook/kernel-hacking.tmpl +1 -1
Index: linux-2.6/Documentation/DocBook/kernel-hacking.tmpl
===================================================================
@@ -1105,7 +1105,7 @@
     </listitem>
     <listitem>
      <para>
-      Function names as strings (__func__).
+      Function names as strings (__FUNCTION__).
      </para>
     </listitem>
     <listitem>