kernel-doc/rst: reference functions according to C domain spec
authorJani Nikula <jani.nikula@intel.com>
Thu, 26 May 2016 08:28:16 +0000 (11:28 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 30 May 2016 10:38:56 +0000 (13:38 +0300)
The Sphinx C domain spec says function references should include the
parens ().

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
scripts/kernel-doc

index 659d529..e8651d7 100755 (executable)
@@ -280,7 +280,7 @@ my $blankline_text = "";
 # rst-mode
 my @highlights_rst = (
                        [$type_constant, "``\$1``"],
-                       [$type_func, "\\:c\\:func\\:`\$1`"],
+                       [$type_func, "\\:c\\:func\\:`\$1()`"],
                        [$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"],
                        [$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"],
                        [$type_struct, "\\:c\\:type\\:`struct \$1 <\$1>`"],