diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 15:57:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 15:57:25 +0000 |
commit | de5703237a8973502fdd4c87e993a998be192863 (patch) | |
tree | 0518890e63c2ce99bace1b45cbc1363fb40c85f1 /nuttx/net/sendto.c | |
parent | d7b3eff5850c1bbcf197c50a3c2a44e6a04f81c9 (diff) | |
download | px4-nuttx-de5703237a8973502fdd4c87e993a998be192863.tar.gz px4-nuttx-de5703237a8973502fdd4c87e993a998be192863.tar.bz2 px4-nuttx-de5703237a8973502fdd4c87e993a998be192863.zip |
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
Diffstat (limited to 'nuttx/net/sendto.c')
-rw-r--r-- | nuttx/net/sendto.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <sys/types.h> #include <sys/socket.h> +#include <stdint.h> #include <string.h> #include <errno.h> #include <debug.h> @@ -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; |