summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/net.h4
-rw-r--r--nuttx/include/termios.h10
2 files changed, 5 insertions, 9 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 */
};
/****************************************************************************