summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_query.c
diff options
context:
space:
mode:
authormillert <>1997-07-09 01:08:53 +0000
committermillert <>1997-07-09 01:08:53 +0000
commit876d3a1be4aa406672cc674a171f26878319d505 (patch)
tree72a738d612791a6e60d74a474bca3bbbcac4828c /src/lib/libc/net/res_query.c
parentfd3592b18f24103bfc82412a8950e5f06e549ff1 (diff)
downloadopenbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.gz
openbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.bz2
openbsd-876d3a1be4aa406672cc674a171f26878319d505.zip
Clean up some -Wall flowers.
Diffstat (limited to 'src/lib/libc/net/res_query.c')
-rw-r--r--src/lib/libc/net/res_query.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libc/net/res_query.c b/src/lib/libc/net/res_query.c
index 4f3665f276..2e245b78cc 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.9 1997/04/06 07:55:04 deraadt Exp $ */ 1/* $OpenBSD: res_query.c,v 1.10 1997/07/09 01:08:53 millert Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1988, 1993 4 * ++Copyright++ 1988, 1993
@@ -60,7 +60,7 @@
60static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; 60static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93";
61static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $"; 61static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $";
62#else 62#else
63static char rcsid[] = "$OpenBSD: res_query.c,v 1.9 1997/04/06 07:55:04 deraadt Exp $"; 63static char rcsid[] = "$OpenBSD: res_query.c,v 1.10 1997/07/09 01:08:53 millert Exp $";
64#endif 64#endif
65#endif /* LIBC_SCCS and not lint */ 65#endif /* LIBC_SCCS and not lint */
66 66
@@ -77,6 +77,7 @@ static char rcsid[] = "$OpenBSD: res_query.c,v 1.9 1997/04/06 07:55:04 deraadt E
77#include <errno.h> 77#include <errno.h>
78#include <stdlib.h> 78#include <stdlib.h>
79#include <string.h> 79#include <string.h>
80#include <unistd.h>
80 81
81#if PACKETSZ > 1024 82#if PACKETSZ > 1024
82#define MAXPACKET PACKETSZ 83#define MAXPACKET PACKETSZ