From ad95373efcd7eaa4d641a7a821e5b05fb2d31e1d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 Jan 2004 23:45:53 +0000 Subject: Use standard C99 types --- networking/udhcp/socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/socket.c') diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index c19838a..582f0fc 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c @@ -44,7 +44,7 @@ #include "socket.h" #include "common.h" -int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp) +int read_interface(char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) { int fd; struct ifreq ifr; @@ -90,7 +90,7 @@ int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char } -int listen_socket(unsigned int ip, int port, char *inf) +int listen_socket(uint32_t ip, int port, char *inf) { struct ifreq interface; int fd; -- cgit v1.1