mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Silence some warnings
This commit is contained in:
+7
-4
@@ -65,15 +65,18 @@ static int devnull_poll(FAR struct file *filep, FAR struct pollfd *fds,
|
||||
|
||||
static const struct file_operations devnull_fops =
|
||||
{
|
||||
0, /* open */
|
||||
0, /* close */
|
||||
NULL, /* open */
|
||||
NULL, /* close */
|
||||
devnull_read, /* read */
|
||||
devnull_write, /* write */
|
||||
0, /* seek */
|
||||
0 /* ioctl */
|
||||
NULL, /* seek */
|
||||
NULL /* ioctl */
|
||||
#ifndef CONFIG_DISABLE_POLL
|
||||
, devnull_poll /* poll */
|
||||
#endif
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
, NULL /* unlink */
|
||||
#endif
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user