diff options
author | millert <> | 2002-02-16 21:27:50 +0000 |
---|---|---|
committer | millert <> | 2002-02-16 21:27:50 +0000 |
commit | 052e020be6be85be6238c44b8386a61f8db7b6a4 (patch) | |
tree | 4cf8f905bd37027527533678516a258fa89e2696 /src/lib/libc/net/res_query.c | |
parent | ee0af55ed65515812050f3b9a8d431c941b73eb8 (diff) | |
download | openbsd-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_query.c')
-rw-r--r-- | src/lib/libc/net/res_query.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/net/res_query.c b/src/lib/libc/net/res_query.c index 3cf7928302..24c07491a9 100644 --- a/src/lib/libc/net/res_query.c +++ b/src/lib/libc/net/res_query.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_query.c,v 1.16 2001/07/31 22:02:18 jakob Exp $ */ | 1 | /* $OpenBSD: res_query.c,v 1.17 2002/02/16 21:27:23 millert Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * ++Copyright++ 1988, 1993 | 4 | * ++Copyright++ 1988, 1993 |
@@ -60,7 +60,7 @@ | |||
60 | static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; | 60 | static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; |
61 | static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $"; | 61 | static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $"; |
62 | #else | 62 | #else |
63 | static char rcsid[] = "$OpenBSD: res_query.c,v 1.16 2001/07/31 22:02:18 jakob Exp $"; | 63 | static char rcsid[] = "$OpenBSD: res_query.c,v 1.17 2002/02/16 21:27:23 millert Exp $"; |
64 | #endif | 64 | #endif |
65 | #endif /* LIBC_SCCS and not lint */ | 65 | #endif /* LIBC_SCCS and not lint */ |
66 | 66 | ||
@@ -85,9 +85,9 @@ static char rcsid[] = "$OpenBSD: res_query.c,v 1.16 2001/07/31 22:02:18 jakob Ex | |||
85 | #define MAXPACKET 1024 | 85 | #define MAXPACKET 1024 |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | const char *hostalias __P((const char *)); | 88 | const char *hostalias(const char *); |
89 | int h_errno; | 89 | int h_errno; |
90 | extern int res_opt __P((int, u_char *, int, int)); | 90 | extern int res_opt(int, u_char *, int, int); |
91 | 91 | ||
92 | /* | 92 | /* |
93 | * Formulate a normal query, send, and await answer. | 93 | * Formulate a normal query, send, and await answer. |