mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
file_operations: get back C89 compatible initializer
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
2447b7bd9a
commit
a743fed63d
+2
-2
@@ -237,9 +237,9 @@ static const struct file_operations g_tun_file_ops =
|
||||
tun_write, /* write */
|
||||
NULL, /* seek */
|
||||
tun_ioctl, /* ioctl */
|
||||
tun_poll, /* poll */
|
||||
tun_poll /* poll */
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
NULL, /* unlink */
|
||||
, NULL /* unlink */
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user