diff options
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/nuttx/net.h | 4 | ||||
-rw-r--r-- | nuttx/include/termios.h | 10 | ||||
-rw-r--r-- | nuttx/net/netdev_unregister.c | 2 |
3 files changed, 5 insertions, 11 deletions
diff --git a/nuttx/include/nuttx/net.h b/nuttx/include/nuttx/net.h index 62dfa2bd8..c04d12069 100644 --- a/nuttx/include/nuttx/net.h +++ b/nuttx/include/nuttx/net.h @@ -111,10 +111,6 @@ struct socketlist }; #endif -/* This defines a bitmap big enough for one bit for each socket option */ - -typedef uint16_t sockopt_t; - /* Callback from netdev_foreach() */ struct uip_driver_s; /* Forward reference. See net/uip/uip-arch.h */ diff --git a/nuttx/include/termios.h b/nuttx/include/termios.h index 9e87e72a8..25ce61b40 100644 --- a/nuttx/include/termios.h +++ b/nuttx/include/termios.h @@ -198,11 +198,11 @@ typedef int cc_t; /* Used for terminal special characters */ struct termios { - tcflag_t c_iflag /* Input modes */ - tcflag_t c_oflag /* Output modes */ - tcflag_t c_cflag /* Control modes */ - tcflag_t c_lflag /* Local modes */ - cc_t c_cc[NCCS] /* Control chars */ + tcflag_t c_iflag; /* Input modes */ + tcflag_t c_oflag; /* Output modes */ + tcflag_t c_cflag; /* Control modes */ + tcflag_t c_lflag; /* Local modes */ + cc_t c_cc[NCCS]; /* Control chars */ }; /**************************************************************************** diff --git a/nuttx/net/netdev_unregister.c b/nuttx/net/netdev_unregister.c index 76be54b9a..e5c2f3ce5 100644 --- a/nuttx/net/netdev_unregister.c +++ b/nuttx/net/netdev_unregister.c @@ -72,8 +72,6 @@ * Private Data ****************************************************************************/ -static int g_next_devnum = 0; - /**************************************************************************** * Public Data ****************************************************************************/ |