diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-06 02:19:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-09-06 02:19:47 +0000 |
commit | 0d247e402ea9508b15e37fdd16d96e7d5ddd5498 (patch) | |
tree | 4e2eb9db8a946fa9312f26247d3ef5afbf96957b /nuttx/net | |
parent | c2ead96fbf7b8d8ba3cf074fd8ef82ceb049c6ae (diff) | |
download | px4-nuttx-0d247e402ea9508b15e37fdd16d96e7d5ddd5498.tar.gz px4-nuttx-0d247e402ea9508b15e37fdd16d96e7d5ddd5498.tar.bz2 px4-nuttx-0d247e402ea9508b15e37fdd16d96e7d5ddd5498.zip |
Eliminate warnings in ARM build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@883 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net')
-rw-r--r-- | nuttx/net/netdev-findbyaddr.c | 5 | ||||
-rw-r--r-- | nuttx/net/uip/uip-icmpping.c | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/net/netdev-findbyaddr.c b/nuttx/net/netdev-findbyaddr.c index 0167f6312..ff4cd7a6d 100644 --- a/nuttx/net/netdev-findbyaddr.c +++ b/nuttx/net/netdev-findbyaddr.c @@ -73,8 +73,9 @@ * Function: netdev_maskcmp ****************************************************************************/ -static inline boolean netdev_maskcmp(uip_ipaddr_t *ipaddr, uip_ipaddr_t *raddr, - uip_ipaddr_t *netmask) +static inline boolean 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); diff --git a/nuttx/net/uip/uip-icmpping.c b/nuttx/net/uip/uip-icmpping.c index 3029e2fc2..fa6f44f60 100644 --- a/nuttx/net/uip/uip-icmpping.c +++ b/nuttx/net/uip/uip-icmpping.c @@ -52,6 +52,7 @@ #include <net/uip/uip-arch.h> #include "uip-internal.h" +#include "../net-internal.h" /* Should not include this! */ /**************************************************************************** * Definitions |