Eliminate __P.

This commit is contained in:
Ralf Corsepius
2007-05-08 12:44:16 +00:00
parent 32556fc156
commit 678b3b069a
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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 *
+2 -2
View File
@@ -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)