Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7e67f6c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 90ffc75f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ Receives reply from a DiSEqC 2.0 command
Synopsis
========

.. c:function:: int ioctl( int fd, int request, struct dvb_diseqc_slave_reply *argp )
.. cpp:function:: int ioctl( int fd, int request, struct dvb_diseqc_slave_reply *argp )

Arguments
=========
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ to power overload.
Synopsis
========

.. c:function:: int ioctl( int fd, int request, NULL )
.. cpp:function:: int ioctl( int fd, int request, NULL )

Arguments
=========
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ Sends a DiSEqC command
Synopsis
========

.. c:function:: int ioctl( int fd, int request, struct dvb_diseqc_master_cmd *argp )
.. cpp:function:: int ioctl( int fd, int request, struct dvb_diseqc_master_cmd *argp )

Arguments
=========
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ voltages.
Synopsis
========

.. c:function:: int ioctl( int fd, int request, unsigned int high )
.. cpp:function:: int ioctl( int fd, int request, unsigned int high )

Arguments
=========
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ front-end. This call only requires read-only access to the device
Synopsis
========

.. c:function:: int ioctl( int fd, int request, struct dvb_frontend_info *argp )
.. cpp:function:: int ioctl( int fd, int request, struct dvb_frontend_info *argp )

Arguments
=========
Loading