mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
doc-rst: linux_tv: supress lots of warnings
The c language parser checks if there are duplicated object definitions. That causes lots of warnings like: WARNING: duplicate C object description of ioctl Let's remove those by telling Sphinx that the language for those objects are c++. The look of the descriptions will be close, and the warnings will be gone. Please notice that we had to keep a few of them as C, as the c++ parser seems to be broken when it finds an enum. Yet, this reduced from 219 warnings to 143, with is a good thing. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
90ffc75f56
commit
b7e67f6c1b
88 changed files with 104 additions and 104 deletions
2
scripts/kernel-doc
Executable file → Normal file
2
scripts/kernel-doc
Executable file → Normal file
|
@ -1833,7 +1833,7 @@ sub output_function_rst(%) {
|
|||
my $oldprefix = $lineprefix;
|
||||
my $start;
|
||||
|
||||
print ".. c:function:: ";
|
||||
print ".. cpp:function:: ";
|
||||
if ($args{'functiontype'} ne "") {
|
||||
$start = $args{'functiontype'} . " " . $args{'function'} . " (";
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue