From de5703237a8973502fdd4c87e993a998be192863 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 Dec 2009 15:57:25 +0000 Subject: Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2346 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/net/sendto.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nuttx/net/sendto.c') diff --git a/nuttx/net/sendto.c b/nuttx/net/sendto.c index e85ca0156..89f478810 100644 --- a/nuttx/net/sendto.c +++ b/nuttx/net/sendto.c @@ -42,6 +42,7 @@ #include #include +#include #include #include #include @@ -63,7 +64,7 @@ struct sendto_s { FAR struct uip_callback_s *st_cb; /* Reference to callback instance */ sem_t st_sem; /* Semaphore signals sendto completion */ - uint16 st_buflen; /* Length of send buffer (error if <0) */ + uint16_t st_buflen; /* Length of send buffer (error if <0) */ const char *st_buffer; /* Pointer to send buffer */ int st_sndlen; /* Result of the send (length sent or negated errno) */ }; @@ -94,7 +95,8 @@ struct sendto_s ****************************************************************************/ #ifdef CONFIG_NET_UDP -static uint16 sendto_interrupt(struct uip_driver_s *dev, void *conn, void *pvpriv, uint16 flags) +static uint16_t sendto_interrupt(struct uip_driver_s *dev, void *conn, + void *pvpriv, uint16_t flags) { struct sendto_s *pstate = (struct sendto_s *)pvpriv; -- cgit v1.2.3