From 4146e9258e38aff358710951df827ab1eb63310d Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 Dec 2009 14:53:45 +0000 Subject: 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@2344 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/net/uip/uip_arptab.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'nuttx/net/uip/uip_arptab.c') diff --git a/nuttx/net/uip/uip_arptab.c b/nuttx/net/uip/uip_arptab.c index 9c0ad6c4d..b777727d4 100644 --- a/nuttx/net/uip/uip_arptab.c +++ b/nuttx/net/uip/uip_arptab.c @@ -45,9 +45,8 @@ #include #ifdef CONFIG_NET -#include #include - +#include #include #include @@ -57,7 +56,7 @@ #include /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /**************************************************************************** @@ -71,7 +70,7 @@ /* The table of known address mappings */ static struct arp_entry g_arptable[CONFIG_NET_ARPTAB_SIZE]; -static uint8 g_arptime; +static uint8_t g_arptime; /**************************************************************************** * Private Functions @@ -134,15 +133,15 @@ void uip_arp_timer(void) * address of an existing association. * * Input parameters: - * pipaddr - Refers to an IP address uint16[2] - * ethaddr - Refers to a HW address uint8[IFHWADDRLEN] + * pipaddr - Refers to an IP address uint16_t[2] + * ethaddr - Refers to a HW address uint8_t[IFHWADDRLEN] * * Assumptions * Interrupts are disabled * ****************************************************************************/ -void uip_arp_update(uint16 *pipaddr, uint8 *ethaddr) +void uip_arp_update(uint16_t *pipaddr, uint8_t *ethaddr) { struct arp_entry *tabptr = NULL; in_addr_t ipaddr = uip_ip4addr_conv(pipaddr); @@ -195,7 +194,7 @@ void uip_arp_update(uint16 *pipaddr, uint8 *ethaddr) if (i == CONFIG_NET_ARPTAB_SIZE) { - uint8 tmpage = 0; + uint8_t tmpage = 0; int j = 0; for (i = 0; i < CONFIG_NET_ARPTAB_SIZE; ++i) { -- cgit v1.2.3