Misc compilation warning cleanup
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4155 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
05ac00d5f8
commit
9d83b226eb
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -72,8 +72,6 @@
|
|||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
static int g_next_devnum = 0;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue