Misc compilation warning cleanup

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4155 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-12-10 13:34:25 +00:00
parent fe320d3e91
commit f4c7bd94b2
3 changed files with 5 additions and 11 deletions

View File

@ -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 */

View File

@ -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 */
};
/****************************************************************************

View File

@ -72,8 +72,6 @@
* Private Data
****************************************************************************/
static int g_next_devnum = 0;
/****************************************************************************
* Public Data
****************************************************************************/