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/netdev_findbyaddr.c | |
parent | d7b3eff5850c1bbcf197c50a3c2a44e6a04f81c9 (diff) | |
download | nuttx-de5703237a8973502fdd4c87e993a998be192863.tar.gz nuttx-de5703237a8973502fdd4c87e993a998be192863.tar.bz2 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/netdev_findbyaddr.c')
-rw-r--r-- | nuttx/net/netdev_findbyaddr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/net/netdev_findbyaddr.c b/nuttx/net/netdev_findbyaddr.c index 14bd27709..2565aed5a 100644 --- a/nuttx/net/netdev_findbyaddr.c +++ b/nuttx/net/netdev_findbyaddr.c @@ -40,7 +40,7 @@ #include <nuttx/config.h> #if defined(CONFIG_NET) && CONFIG_NSOCKET_DESCRIPTORS > 0 -#include <sys/types.h> +#include <stdbool.h> #include <string.h> #include <errno.h> #include <debug.h> @@ -50,7 +50,7 @@ #include "net_internal.h" /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /**************************************************************************** @@ -73,9 +73,9 @@ * Function: netdev_maskcmp ****************************************************************************/ -static inline boolean netdev_maskcmp(const uip_ipaddr_t *ipaddr, - const uip_ipaddr_t *raddr, - const uip_ipaddr_t *netmask) +static inline bool netdev_maskcmp(const uip_ipaddr_t *ipaddr, + const uip_ipaddr_t *raddr, + const uip_ipaddr_t *netmask) { #ifndef CONFIG_NET_IPv6 return (*ipaddr & *netmask) == (*raddr & *netmask); |