Silence some warnings

This commit is contained in:
Paul A. Patience
2016-05-26 12:01:15 -04:00
parent b36d125e33
commit f8f7b7582c
12 changed files with 100 additions and 73 deletions
+7 -4
View File
@@ -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
};
/****************************************************************************