projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e72184
)
kernel-doc/rst: reference functions according to C domain spec
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 26 May 2016 08:28:16 +0000
(11:28 +0300)
committer
Jani 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
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kernel-doc
b/scripts/kernel-doc
index 659d529b99d8570a98384731d381e1dd447ed6bc..e8651d7cf1cd6cfffb84b23d86268bebafb7d774 100755
(executable)
--- a/
scripts/kernel-doc
+++ b/
scripts/kernel-doc
@@
-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>`"],