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/net_internal.h | |
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/net_internal.h')
-rw-r--r-- | nuttx/net/net_internal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/net/net_internal.h b/nuttx/net/net_internal.h index c66f808e4..0ddb98b30 100644 --- a/nuttx/net/net_internal.h +++ b/nuttx/net/net_internal.h @@ -43,7 +43,10 @@ #include <nuttx/config.h> #ifdef CONFIG_NET +#include <sys/types.h> +#include <stdint.h> #include <time.h> + #include <nuttx/net.h> #include <net/uip/uip.h> @@ -159,9 +162,9 @@ EXTERN int net_closesocket(FAR struct socket *psock); /* sockopt support ***********************************************************/ #if defined(CONFIG_NET_SOCKOPTS) && !defined(CONFIG_DISABLE_CLOCK) -EXTERN int net_timeo(uint32 start_time, socktimeo_t timeo); +EXTERN int net_timeo(uint32_t start_time, socktimeo_t timeo); EXTERN socktimeo_t net_timeval2dsec(struct timeval *tv); -EXTERN void net_dsec2timeval(uint16 dsec, struct timeval *tv); +EXTERN void net_dsec2timeval(uint16_t dsec, struct timeval *tv); #endif /* net_register.c ************************************************************/ |