summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_send.c
diff options
context:
space:
mode:
authormillert <>2002-02-16 21:27:50 +0000
committermillert <>2002-02-16 21:27:50 +0000
commit052e020be6be85be6238c44b8386a61f8db7b6a4 (patch)
tree4cf8f905bd37027527533678516a258fa89e2696 /src/lib/libc/net/res_send.c
parentee0af55ed65515812050f3b9a8d431c941b73eb8 (diff)
downloadopenbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2
openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.zip
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'src/lib/libc/net/res_send.c')
-rw-r--r--src/lib/libc/net/res_send.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/net/res_send.c b/src/lib/libc/net/res_send.c
index ab50559de6..81bf23ba9f 100644
--- a/src/lib/libc/net/res_send.c
+++ b/src/lib/libc/net/res_send.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_send.c,v 1.10 2001/09/14 23:49:29 itojun Exp $ */ 1/* $OpenBSD: res_send.c,v 1.11 2002/02/16 21:27:23 millert Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1989, 1993 4 * ++Copyright++ 1985, 1989, 1993
@@ -64,7 +64,7 @@
64static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93"; 64static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
65static char rcsid[] = "$From: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp $"; 65static char rcsid[] = "$From: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp $";
66#else 66#else
67static char rcsid[] = "$OpenBSD: res_send.c,v 1.10 2001/09/14 23:49:29 itojun Exp $"; 67static char rcsid[] = "$OpenBSD: res_send.c,v 1.11 2002/02/16 21:27:23 millert Exp $";
68#endif 68#endif
69#endif /* LIBC_SCCS and not lint */ 69#endif /* LIBC_SCCS and not lint */
70 70
@@ -126,8 +126,8 @@ static int af = 0; /* address family of socket */
126 } else {} 126 } else {}
127static char abuf[NI_MAXHOST]; 127static char abuf[NI_MAXHOST];
128static char pbuf[NI_MAXSERV]; 128static char pbuf[NI_MAXSERV];
129static void Aerror __P((FILE *, char *, int, struct sockaddr *)); 129static void Aerror(FILE *, char *, int, struct sockaddr *);
130static void Perror __P((FILE *, char *, int)); 130static void Perror(FILE *, char *, int);
131 131
132 static void 132 static void
133 Aerror(file, string, error, address) 133 Aerror(file, string, error, address)
@@ -186,7 +186,7 @@ res_send_setrhook(hook)
186} 186}
187 187
188#ifdef INET6 188#ifdef INET6
189static struct sockaddr * get_nsaddr __P((size_t)); 189static struct sockaddr * get_nsaddr(size_t);
190 190
191/* 191/*
192 * pick appropriate nsaddr_list for use. see res_init() for initialization. 192 * pick appropriate nsaddr_list for use. see res_init() for initialization.