diff options
Diffstat (limited to 'cpukit/libnetworking/libc')
-rw-r--r-- | cpukit/libnetworking/libc/gethostbydns.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/libc/inet_net_ntop.c | 4 | ||||
-rw-r--r-- | cpukit/libnetworking/libc/inet_pton.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libnetworking/libc/gethostbydns.c b/cpukit/libnetworking/libc/gethostbydns.c index 4fe13e773a..4ec9702f36 100644 --- a/cpukit/libnetworking/libc/gethostbydns.c +++ b/cpukit/libnetworking/libc/gethostbydns.c @@ -95,7 +95,7 @@ static char hostbuf[8*1024]; static u_char host_addr[16]; /* IPv4 or IPv6 */ #ifdef RESOLVSORT -static void addrsort __P((char **, int)); +static void addrsort(char **, int); #endif #if PACKETSZ > 1024 diff --git a/cpukit/libnetworking/libc/inet_net_ntop.c b/cpukit/libnetworking/libc/inet_net_ntop.c index bdd334882e..f756f0a209 100644 --- a/cpukit/libnetworking/libc/inet_net_ntop.c +++ b/cpukit/libnetworking/libc/inet_net_ntop.c @@ -35,8 +35,8 @@ # define SPRINTF(x) ((size_t)sprintf x) #endif -static char * inet_net_ntop_ipv4 __P((const u_char *src, int bits, - char *dst, size_t size)); +static char * inet_net_ntop_ipv4(const u_char *src, int bits, + char *dst, size_t size); /* * char * diff --git a/cpukit/libnetworking/libc/inet_pton.c b/cpukit/libnetworking/libc/inet_pton.c index 69c7d94aeb..77032ba6c2 100644 --- a/cpukit/libnetworking/libc/inet_pton.c +++ b/cpukit/libnetworking/libc/inet_pton.c @@ -32,8 +32,8 @@ * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. */ -static int inet_pton4 __P((const char *src, u_char *dst)); -static int inet_pton6 __P((const char *src, u_char *dst)); +static int inet_pton4(const char *src, u_char *dst); +static int inet_pton6(const char *src, u_char *dst); /* int * inet_pton(af, src, dst) |