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
This commit is contained in:
patacongo
2009-12-15 15:57:25 +00:00
parent b0e87ce2fe
commit 05d9fdd61e
25 changed files with 76 additions and 79 deletions
+5 -5
View File
@@ -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);