mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
fs: Remove all LIBC_IOCTL_VARIADIC related stuff
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -126,11 +126,7 @@ extern "C"
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_LIBC_IOCTL_VARIADIC
|
||||
int ioctl(int fd, int req, ...);
|
||||
#else
|
||||
int ioctl(int fd, int req, unsigned long arg);
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
|
||||
@@ -284,13 +284,7 @@
|
||||
*/
|
||||
|
||||
#define SYS_close (__SYS_descriptors + 0)
|
||||
|
||||
#ifdef CONFIG_LIBC_IOCTL_VARIADIC
|
||||
# define SYS_fs_ioctl (__SYS_descriptors + 1)
|
||||
#else
|
||||
# define SYS_ioctl (__SYS_descriptors + 1)
|
||||
#endif
|
||||
|
||||
#define SYS_ioctl (__SYS_descriptors + 1)
|
||||
#define SYS_read (__SYS_descriptors + 2)
|
||||
#define SYS_write (__SYS_descriptors + 3)
|
||||
#define SYS_pread (__SYS_descriptors + 4)
|
||||
|
||||
Reference in New Issue
Block a user