You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08: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:
@@ -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
|
||||
=========
|
||||
|
||||
@@ -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
|
||||
=========
|
||||
|
||||
@@ -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
|
||||
=========
|
||||
|
||||
@@ -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
|
||||
=========
|
||||
|
||||
@@ -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
|
||||
=========
|
||||
|
||||
@@ -16,7 +16,7 @@ FE_GET_PROPERTY returns one or more frontend properties.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, struct dtv_properties *argp )
|
||||
.. cpp:function:: int ioctl( int fd, int request, struct dtv_properties *argp )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -15,7 +15,7 @@ read-only access to the device
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, unsigned int *status )
|
||||
.. cpp:function:: int ioctl( int fd, int request, unsigned int *status )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -14,7 +14,7 @@ Allow setting tuner mode flags to the frontend.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, unsigned int flags )
|
||||
.. cpp:function:: int ioctl( int fd, int request, unsigned int flags )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -19,7 +19,7 @@ Synopsis
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
.. c:function:: int close( int fd )
|
||||
.. cpp:function:: int close( int fd )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -19,7 +19,7 @@ Synopsis
|
||||
#include <fcntl.h>
|
||||
|
||||
|
||||
.. c:function:: int open( const char *device_name, int flags )
|
||||
.. cpp:function:: int open( const char *device_name, int flags )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -46,7 +46,7 @@ Creates a new network interface for a given Packet ID.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
|
||||
.. cpp:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
@@ -135,7 +135,7 @@ Removes a network interface.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, int ifnum )
|
||||
.. cpp:function:: int ioctl( int fd, int request, int ifnum )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
@@ -178,7 +178,7 @@ Read the configuration data of an interface created via
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
|
||||
.. cpp:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -19,7 +19,7 @@ Synopsis
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
.. c:function:: int close( int fd )
|
||||
.. cpp:function:: int close( int fd )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -19,7 +19,7 @@ Synopsis
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, void *argp )
|
||||
.. cpp:function:: int ioctl( int fd, int request, void *argp )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -20,7 +20,7 @@ Synopsis
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
||||
.. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset )
|
||||
.. cpp:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -20,7 +20,7 @@ Synopsis
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
||||
.. c:function:: int munmap( void *start, size_t length )
|
||||
.. cpp:function:: int munmap( void *start, size_t length )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -19,7 +19,7 @@ Synopsis
|
||||
#include <fcntl.h>
|
||||
|
||||
|
||||
.. c:function:: int open( const char *device_name, int flags )
|
||||
.. cpp:function:: int open( const char *device_name, int flags )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -19,7 +19,7 @@ Synopsis
|
||||
#include <sys/poll.h>
|
||||
|
||||
|
||||
.. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
|
||||
.. cpp:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
@@ -19,7 +19,7 @@ Synopsis
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
.. c:function:: ssize_t read( int fd, void *buf, size_t count )
|
||||
.. cpp:function:: ssize_t read( int fd, void *buf, size_t count )
|
||||
|
||||
Arguments
|
||||
=========
|
||||
|
||||
@@ -21,7 +21,7 @@ Synopsis
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
.. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout )
|
||||
.. cpp:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout )
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
@@ -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
|
||||
=========
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user