diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2016-05-26 04:28:16 -0400 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2016-05-30 06:38:56 -0400 |
| commit | a19bce6433c2566dd210f4245525c297ca952574 (patch) | |
| tree | 65e42b8eac11ee802a39e7c5213e3bf15c0c4a62 /scripts/kernel-doc | |
| parent | 9e72184b55df2b5b8ebdcf0470bd43ef32dc518f (diff) | |
kernel-doc/rst: reference functions according to C domain spec
The Sphinx C domain spec says function references should include the
parens ().
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/kernel-doc')
| -rwxr-xr-x | scripts/kernel-doc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 659d529b99d8..e8651d7cf1cd 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
| @@ -280,7 +280,7 @@ my $blankline_text = ""; | |||
| 280 | # rst-mode | 280 | # rst-mode |
| 281 | my @highlights_rst = ( | 281 | my @highlights_rst = ( |
| 282 | [$type_constant, "``\$1``"], | 282 | [$type_constant, "``\$1``"], |
| 283 | [$type_func, "\\:c\\:func\\:`\$1`"], | 283 | [$type_func, "\\:c\\:func\\:`\$1()`"], |
| 284 | [$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], | 284 | [$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], |
| 285 | [$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], | 285 | [$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], |
| 286 | [$type_struct, "\\:c\\:type\\:`struct \$1 <\$1>`"], | 286 | [$type_struct, "\\:c\\:type\\:`struct \$1 <\$1>`"], |
