summaryrefslogtreecommitdiffstats
path: root/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2016-07-02 14:49:16 +0200
committerMauro Carvalho Chehab2016-07-03 15:05:16 +0200
commitb7e67f6c1bf70cd97014d20a2a3bec4b4f3317f8 (patch)
tree50ecb60c88e8eb27497de12472a859dc41de62ca /Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
parentdoc-rst: vidioc-queryctl: change the title of this chapter (diff)
downloadkernel-qcow2-linux-b7e67f6c1bf70cd97014d20a2a3bec4b4f3317f8.tar.gz
kernel-qcow2-linux-b7e67f6c1bf70cd97014d20a2a3bec4b4f3317f8.tar.xz
kernel-qcow2-linux-b7e67f6c1bf70cd97014d20a2a3bec4b4f3317f8.zip
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/vidioc-queryctrl.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst b/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
index 2e93caeafe9e..a08c68262871 100644
--- a/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
+++ b/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
@@ -16,11 +16,11 @@ Enumerate controls and menu control items
Synopsis
========
-.. c:function:: int ioctl( int fd, int request, struct v4l2_queryctrl *argp )
+.. cpp:function:: int ioctl( int fd, int request, struct v4l2_queryctrl *argp )
-.. c:function:: int ioctl( int fd, int request, struct v4l2_query_ext_ctrl *argp )
+.. cpp:function:: int ioctl( int fd, int request, struct v4l2_query_ext_ctrl *argp )
-.. c:function:: int ioctl( int fd, int request, struct v4l2_querymenu *argp )
+.. cpp:function:: int ioctl( int fd, int request, struct v4l2_querymenu *argp )
Arguments
=========