瀏覽代碼

doc-rst: kernel-doc: fix a change introduced by mistake

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>
Mauro Carvalho Chehab 9 年之前
父節點
當前提交
a3f57ad0e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/kernel-doc

+ 1 - 1
scripts/kernel-doc

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