diff --git a/include/nuttx/net.h b/include/nuttx/net.h index 62dfa2bd8be..c04d12069b6 100644 --- a/include/nuttx/net.h +++ b/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/include/termios.h b/include/termios.h index 9e87e72a800..25ce61b4013 100644 --- a/include/termios.h +++ b/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/net/netdev_unregister.c b/net/netdev_unregister.c index 76be54b9a16..e5c2f3ce5bc 100644 --- a/net/netdev_unregister.c +++ b/net/netdev_unregister.c @@ -72,8 +72,6 @@ * Private Data ****************************************************************************/ -static int g_next_devnum = 0; - /**************************************************************************** * Public Data ****************************************************************************/