doc-rst: kernel-doc: fix a change introduced by mistake
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Jul 2016 10:13:59 +0000 (07:13 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Jul 2016 11:04:21 +0000 (08:04 -0300)
changeset b7e67f6c1bf7 ("doc-rst: linux_tv: supress lots of warnings")
were meant to touch only on media files, but it also touched
at this script by mistake. Revert such change.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
scripts/kernel-doc

index f9652c25e09aa63132d4f004bdf409e6a1735acd..4f2e9049e8fa4219218b9ccc7ffd50d9558f1016 100755 (executable)
@@ -1833,7 +1833,7 @@ sub output_function_rst(%) {
     my $oldprefix = $lineprefix;
     my $start;
 
-    print ".. cpp:function:: ";
+    print ".. c:function:: ";
     if ($args{'functiontype'} ne "") {
        $start = $args{'functiontype'} . " " . $args{'function'} . " (";
     } else {