summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media/v4l/func-write.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-02 09:49:16 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 10:05:16 -0300
commitb7e67f6c1bf70cd97014d20a2a3bec4b4f3317f8 (patch)
tree50ecb60c88e8eb27497de12472a859dc41de62ca /Documentation/linux_tv/media/v4l/func-write.rst
parent90ffc75f56b892dbf6ba38d624f2b6380494b056 (diff)
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>
Diffstat (limited to 'Documentation/linux_tv/media/v4l/func-write.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/func-write.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/linux_tv/media/v4l/func-write.rst b/Documentation/linux_tv/media/v4l/func-write.rst
index d2265ba0d92d..402beed3231c 100644
--- a/Documentation/linux_tv/media/v4l/func-write.rst
+++ b/Documentation/linux_tv/media/v4l/func-write.rst
@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h>
-.. c:function:: ssize_t write( int fd, void *buf, size_t count )
+.. cpp:function:: ssize_t write( int fd, void *buf, size_t count )
Arguments
=========