summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_init.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_init.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_init.c')
-rw-r--r--src/lib/libc/net/res_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/net/res_init.c b/src/lib/libc/net/res_init.c
index c74e0339ba..121606ac48 100644
--- a/src/lib/libc/net/res_init.c
+++ b/src/lib/libc/net/res_init.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_init.c,v 1.24 2001/09/14 23:49:29 itojun Exp $ */ 1/* $OpenBSD: res_init.c,v 1.25 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_init.c 8.1 (Berkeley) 6/7/93"; 64static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93";
65static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $"; 65static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $";
66#else 66#else
67static char rcsid[] = "$OpenBSD: res_init.c,v 1.24 2001/09/14 23:49:29 itojun Exp $"; 67static char rcsid[] = "$OpenBSD: res_init.c,v 1.25 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
@@ -109,12 +109,12 @@ static char rcsid[] = "$OpenBSD: res_init.c,v 1.24 2001/09/14 23:49:29 itojun Ex
109 * property. 109 * property.
110 */ 110 */
111 111
112static void res_setoptions __P((char *, char *)); 112static void res_setoptions(char *, char *);
113 113
114#ifdef RESOLVSORT 114#ifdef RESOLVSORT
115static const char sort_mask[] = "/&"; 115static const char sort_mask[] = "/&";
116#define ISSORTMASK(ch) (strchr(sort_mask, ch) != NULL) 116#define ISSORTMASK(ch) (strchr(sort_mask, ch) != NULL)
117static u_int32_t net_mask __P((struct in_addr)); 117static u_int32_t net_mask(struct in_addr);
118#endif 118#endif
119 119
120/* 120/*