summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/net/Makefile.inc3
-rw-r--r--src/lib/libc/net/ethers.c6
-rw-r--r--src/lib/libc/net/gethostnamadr.c5
-rw-r--r--src/lib/libc/net/getnetbyaddr.c5
-rw-r--r--src/lib/libc/net/getnetbyname.c5
-rw-r--r--src/lib/libc/net/getnetent.c5
-rw-r--r--src/lib/libc/net/getnetnamadr.c12
-rw-r--r--src/lib/libc/net/getproto.c5
-rw-r--r--src/lib/libc/net/getprotoent.c5
-rw-r--r--src/lib/libc/net/getprotoname.c5
-rw-r--r--src/lib/libc/net/getservbyname.c5
-rw-r--r--src/lib/libc/net/getservbyport.c5
-rw-r--r--src/lib/libc/net/getservent.c5
-rw-r--r--src/lib/libc/net/herror.c11
-rw-r--r--src/lib/libc/net/htonl.c5
-rw-r--r--src/lib/libc/net/htons.c5
-rw-r--r--src/lib/libc/net/inet_addr.c11
-rw-r--r--src/lib/libc/net/inet_lnaof.c5
-rw-r--r--src/lib/libc/net/inet_makeaddr.c5
-rw-r--r--src/lib/libc/net/inet_net_ntop.c10
-rw-r--r--src/lib/libc/net/inet_net_pton.c10
-rw-r--r--src/lib/libc/net/inet_neta.c6
-rw-r--r--src/lib/libc/net/inet_netof.c5
-rw-r--r--src/lib/libc/net/inet_network.c5
-rw-r--r--src/lib/libc/net/inet_ntoa.c5
-rw-r--r--src/lib/libc/net/inet_ntop.c10
-rw-r--r--src/lib/libc/net/inet_pton.c10
-rw-r--r--src/lib/libc/net/ipx_addr.c5
-rw-r--r--src/lib/libc/net/ipx_ntoa.c5
-rw-r--r--src/lib/libc/net/linkaddr.c5
-rw-r--r--src/lib/libc/net/nsap_addr.c10
-rw-r--r--src/lib/libc/net/ntohl.c5
-rw-r--r--src/lib/libc/net/ntohs.c5
-rw-r--r--src/lib/libc/net/rcmd.c4
-rw-r--r--src/lib/libc/net/rcmdsh.c6
-rw-r--r--src/lib/libc/net/recv.c5
-rw-r--r--src/lib/libc/net/res_comp.c11
-rw-r--r--src/lib/libc/net/res_data.c10
-rw-r--r--src/lib/libc/net/res_debug.c117
-rw-r--r--src/lib/libc/net/res_debug_syms.c189
-rw-r--r--src/lib/libc/net/res_init.c11
-rw-r--r--src/lib/libc/net/res_mkquery.c11
-rw-r--r--src/lib/libc/net/res_query.c11
-rw-r--r--src/lib/libc/net/res_send.c11
-rw-r--r--src/lib/libc/net/rresvport.c4
-rw-r--r--src/lib/libc/net/send.c5
-rw-r--r--src/lib/libc/net/sethostent.c5
47 files changed, 234 insertions, 375 deletions
diff --git a/src/lib/libc/net/Makefile.inc b/src/lib/libc/net/Makefile.inc
index da746b97b1..9b1e2cfb25 100644
--- a/src/lib/libc/net/Makefile.inc
+++ b/src/lib/libc/net/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.40 2005/06/17 20:36:16 henning Exp $ 1# $OpenBSD: Makefile.inc,v 1.41 2005/08/06 20:30:03 espie Exp $
2 2
3# net sources 3# net sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/net ${LIBCSRCDIR}/net 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/net ${LIBCSRCDIR}/net
@@ -14,6 +14,7 @@ SRCS+= base64.c freeaddrinfo.c gai_strerror.c getaddrinfo.c gethostnamadr.c \
14 inet_net_ntop.c inet_net_pton.c inet_ntoa.c inet_ntop.c inet_pton.c \ 14 inet_net_ntop.c inet_net_pton.c inet_ntoa.c inet_ntop.c inet_pton.c \
15 ipx_addr.c ipx_ntoa.c linkaddr.c net_addrcmp.c nsap_addr.c \ 15 ipx_addr.c ipx_ntoa.c linkaddr.c net_addrcmp.c nsap_addr.c \
16 rcmd.c rresvport.c recv.c res_comp.c res_data.c res_debug.c \ 16 rcmd.c rresvport.c recv.c res_comp.c res_data.c res_debug.c \
17 res_debug_syms.c \
17 res_init.c res_mkquery.c res_query.c res_random.c res_send.c send.c \ 18 res_init.c res_mkquery.c res_query.c res_random.c res_send.c send.c \
18 sethostent.c ethers.c rcmdsh.c 19 sethostent.c ethers.c rcmdsh.c
19 20
diff --git a/src/lib/libc/net/ethers.c b/src/lib/libc/net/ethers.c
index e46dcd7006..d4243ff1da 100644
--- a/src/lib/libc/net/ethers.c
+++ b/src/lib/libc/net/ethers.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ethers.c,v 1.19 2005/03/28 06:19:58 tedu Exp $ */ 1/* $OpenBSD: ethers.c,v 1.20 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> 4 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -22,10 +22,6 @@
22 * Substantially modified by Todd C. Miller <Todd.Miller@courtesan.com> 22 * Substantially modified by Todd C. Miller <Todd.Miller@courtesan.com>
23 */ 23 */
24 24
25#if defined(LIBC_SCCS) && !defined(lint)
26static char rcsid[] = "$OpenBSD: ethers.c,v 1.19 2005/03/28 06:19:58 tedu Exp $";
27#endif /* LIBC_SCCS and not lint */
28
29#include <sys/types.h> 25#include <sys/types.h>
30#include <sys/socket.h> 26#include <sys/socket.h>
31#include <net/if.h> 27#include <net/if.h>
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c
index c984fac7b1..d1c7d80df6 100644
--- a/src/lib/libc/net/gethostnamadr.c
+++ b/src/lib/libc/net/gethostnamadr.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: gethostnamadr.c,v 1.68 2005/08/06 20:30:03 espie Exp $ */
1/*- 2/*-
2 * Copyright (c) 1985, 1988, 1993 3 * Copyright (c) 1985, 1988, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -47,10 +48,6 @@
47 * --Copyright-- 48 * --Copyright--
48 */ 49 */
49 50
50#if defined(LIBC_SCCS) && !defined(lint)
51static const char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.67 2005/07/27 14:16:43 millert Exp $";
52#endif /* LIBC_SCCS and not lint */
53
54#include <sys/param.h> 51#include <sys/param.h>
55#include <sys/socket.h> 52#include <sys/socket.h>
56#include <netinet/in.h> 53#include <netinet/in.h>
diff --git a/src/lib/libc/net/getnetbyaddr.c b/src/lib/libc/net/getnetbyaddr.c
index 82d1ea1dca..a85106630c 100644
--- a/src/lib/libc/net/getnetbyaddr.c
+++ b/src/lib/libc/net/getnetbyaddr.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getnetbyaddr.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getnetbyaddr.c,v 1.7 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <netdb.h> 31#include <netdb.h>
35 32
36extern int _net_stayopen; 33extern int _net_stayopen;
diff --git a/src/lib/libc/net/getnetbyname.c b/src/lib/libc/net/getnetbyname.c
index 83b3ca3817..e6540cf12c 100644
--- a/src/lib/libc/net/getnetbyname.c
+++ b/src/lib/libc/net/getnetbyname.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getnetbyname.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getnetbyname.c,v 1.7 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <netdb.h> 31#include <netdb.h>
35#include <string.h> 32#include <string.h>
36 33
diff --git a/src/lib/libc/net/getnetent.c b/src/lib/libc/net/getnetent.c
index 3e52c1ff4d..5a2eb205af 100644
--- a/src/lib/libc/net/getnetent.c
+++ b/src/lib/libc/net/getnetent.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getnetent.c,v 1.11 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getnetent.c,v 1.10 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/types.h> 31#include <sys/types.h>
35#include <sys/socket.h> 32#include <sys/socket.h>
36#include <netinet/in.h> 33#include <netinet/in.h>
diff --git a/src/lib/libc/net/getnetnamadr.c b/src/lib/libc/net/getnetnamadr.c
index 303ac2cc54..7b770f1ce7 100644
--- a/src/lib/libc/net/getnetnamadr.c
+++ b/src/lib/libc/net/getnetnamadr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getnetnamadr.c,v 1.25 2005/03/30 02:58:28 tedu Exp $ */ 1/* $OpenBSD: getnetnamadr.c,v 1.26 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1997, Jason Downs. All rights reserved. 4 * Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -60,16 +60,6 @@
60 * SUCH DAMAGE. 60 * SUCH DAMAGE.
61 */ 61 */
62 62
63#if defined(LIBC_SCCS) && !defined(lint)
64#if 0
65static char sccsid[] = "@(#)getnetbyaddr.c 8.1 (Berkeley) 6/4/93";
66static char sccsid_[] = "from getnetnamadr.c 1.4 (Coimbra) 93/06/03";
67static char rcsid[] = "$From: getnetnamadr.c,v 8.7 1996/08/05 08:31:35 vixie Exp $";
68#else
69static char rcsid[] = "$OpenBSD: getnetnamadr.c,v 1.25 2005/03/30 02:58:28 tedu Exp $";
70#endif
71#endif /* LIBC_SCCS and not lint */
72
73#include <sys/types.h> 63#include <sys/types.h>
74#include <sys/param.h> 64#include <sys/param.h>
75#include <sys/socket.h> 65#include <sys/socket.h>
diff --git a/src/lib/libc/net/getproto.c b/src/lib/libc/net/getproto.c
index 16d840394c..07fa33288d 100644
--- a/src/lib/libc/net/getproto.c
+++ b/src/lib/libc/net/getproto.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getproto.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getproto.c,v 1.6 2004/10/25 03:09:01 millert Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <netdb.h> 31#include <netdb.h>
35#include <stdio.h> 32#include <stdio.h>
36 33
diff --git a/src/lib/libc/net/getprotoent.c b/src/lib/libc/net/getprotoent.c
index 7e93d233ef..7e6edc9329 100644
--- a/src/lib/libc/net/getprotoent.c
+++ b/src/lib/libc/net/getprotoent.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getprotoent.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getprotoent.c,v 1.7 2004/10/25 03:09:01 millert Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/types.h> 31#include <sys/types.h>
35#include <sys/socket.h> 32#include <sys/socket.h>
36 33
diff --git a/src/lib/libc/net/getprotoname.c b/src/lib/libc/net/getprotoname.c
index f257bf4a71..749b6b3f13 100644
--- a/src/lib/libc/net/getprotoname.c
+++ b/src/lib/libc/net/getprotoname.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getprotoname.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getprotoname.c,v 1.6 2004/10/25 03:09:01 millert Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <netdb.h> 31#include <netdb.h>
35#include <stdio.h> 32#include <stdio.h>
36#include <string.h> 33#include <string.h>
diff --git a/src/lib/libc/net/getservbyname.c b/src/lib/libc/net/getservbyname.c
index 062318630f..beb8943af6 100644
--- a/src/lib/libc/net/getservbyname.c
+++ b/src/lib/libc/net/getservbyname.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getservbyname.c,v 1.10 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getservbyname.c,v 1.9 2004/10/25 03:09:01 millert Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <netdb.h> 31#include <netdb.h>
35#include <stdio.h> 32#include <stdio.h>
36#include <string.h> 33#include <string.h>
diff --git a/src/lib/libc/net/getservbyport.c b/src/lib/libc/net/getservbyport.c
index 5e210b2e8b..46679ba366 100644
--- a/src/lib/libc/net/getservbyport.c
+++ b/src/lib/libc/net/getservbyport.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getservbyport.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getservbyport.c,v 1.6 2004/10/25 03:09:01 millert Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <netdb.h> 31#include <netdb.h>
35#include <stdio.h> 32#include <stdio.h>
36#include <string.h> 33#include <string.h>
diff --git a/src/lib/libc/net/getservent.c b/src/lib/libc/net/getservent.c
index 3eaf2a4adc..6c1ecce78d 100644
--- a/src/lib/libc/net/getservent.c
+++ b/src/lib/libc/net/getservent.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: getservent.c,v 1.10 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: getservent.c,v 1.9 2004/10/25 03:09:01 millert Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/types.h> 31#include <sys/types.h>
35#include <sys/socket.h> 32#include <sys/socket.h>
36 33
diff --git a/src/lib/libc/net/herror.c b/src/lib/libc/net/herror.c
index c1e5a4ba56..7787115a9d 100644
--- a/src/lib/libc/net/herror.c
+++ b/src/lib/libc/net/herror.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: herror.c,v 1.7 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: herror.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1987, 1993 4 * ++Copyright++ 1987, 1993
@@ -51,15 +51,6 @@
51 * --Copyright-- 51 * --Copyright--
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint)
55#if 0
56static char sccsid[] = "@(#)herror.c 8.1 (Berkeley) 6/4/93";
57static char rcsid[] = "$From: herror.c,v 8.3 1996/08/05 08:31:35 vixie Exp $";
58#else
59static char rcsid[] = "$OpenBSD: herror.c,v 1.7 2005/03/25 13:24:12 otto Exp $";
60#endif
61#endif /* LIBC_SCCS and not lint */
62
63#include <sys/types.h> 54#include <sys/types.h>
64#include <sys/param.h> 55#include <sys/param.h>
65#include <sys/uio.h> 56#include <sys/uio.h>
diff --git a/src/lib/libc/net/htonl.c b/src/lib/libc/net/htonl.c
index f104e190a2..5ab4189597 100644
--- a/src/lib/libc/net/htonl.c
+++ b/src/lib/libc/net/htonl.c
@@ -1,12 +1,9 @@
1/* $OpenBSD: htonl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Written by J.T. Conklin <jtc@netbsd.org>. 3 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain. 4 * Public domain.
4 */ 5 */
5 6
6#if defined(LIBC_SCCS) && !defined(lint)
7static char *rcsid = "$OpenBSD: htonl.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
8#endif /* LIBC_SCCS and not lint */
9
10#include <sys/types.h> 7#include <sys/types.h>
11#include <machine/endian.h> 8#include <machine/endian.h>
12 9
diff --git a/src/lib/libc/net/htons.c b/src/lib/libc/net/htons.c
index ded70712ea..c8b73fdbb7 100644
--- a/src/lib/libc/net/htons.c
+++ b/src/lib/libc/net/htons.c
@@ -1,12 +1,9 @@
1/* $OpenBSD: htons.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Written by J.T. Conklin <jtc@netbsd.org>. 3 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain. 4 * Public domain.
4 */ 5 */
5 6
6#if defined(LIBC_SCCS) && !defined(lint)
7static char *rcsid = "$OpenBSD: htons.c,v 1.7 2002/02/19 19:39:36 millert Exp $";
8#endif /* LIBC_SCCS and not lint */
9
10#include <sys/types.h> 7#include <sys/types.h>
11#include <machine/endian.h> 8#include <machine/endian.h>
12 9
diff --git a/src/lib/libc/net/inet_addr.c b/src/lib/libc/net/inet_addr.c
index b55983fd81..c962a03382 100644
--- a/src/lib/libc/net/inet_addr.c
+++ b/src/lib/libc/net/inet_addr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_addr.c,v 1.8 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: inet_addr.c,v 1.9 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1983, 1990, 1993 4 * ++Copyright++ 1983, 1990, 1993
@@ -51,15 +51,6 @@
51 * --Copyright-- 51 * --Copyright--
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint)
55#if 0
56static char sccsid[] = "@(#)inet_addr.c 8.1 (Berkeley) 6/17/93";
57static char rcsid[] = "$From: inet_addr.c,v 8.5 1996/08/05 08:31:35 vixie Exp $";
58#else
59static char rcsid[] = "$OpenBSD: inet_addr.c,v 1.8 2005/03/25 13:24:12 otto Exp $";
60#endif
61#endif /* LIBC_SCCS and not lint */
62
63#include <sys/types.h> 54#include <sys/types.h>
64#include <sys/param.h> 55#include <sys/param.h>
65#include <netinet/in.h> 56#include <netinet/in.h>
diff --git a/src/lib/libc/net/inet_lnaof.c b/src/lib/libc/net/inet_lnaof.c
index 110828b2f6..b1a58cd2c1 100644
--- a/src/lib/libc/net/inet_lnaof.c
+++ b/src/lib/libc/net/inet_lnaof.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: inet_lnaof.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: inet_lnaof.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/param.h> 31#include <sys/param.h>
35#include <netinet/in.h> 32#include <netinet/in.h>
36#include <arpa/inet.h> 33#include <arpa/inet.h>
diff --git a/src/lib/libc/net/inet_makeaddr.c b/src/lib/libc/net/inet_makeaddr.c
index 9a15da8fec..87d9325231 100644
--- a/src/lib/libc/net/inet_makeaddr.c
+++ b/src/lib/libc/net/inet_makeaddr.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: inet_makeaddr.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/param.h> 31#include <sys/param.h>
35#include <netinet/in.h> 32#include <netinet/in.h>
36#include <arpa/inet.h> 33#include <arpa/inet.h>
diff --git a/src/lib/libc/net/inet_net_ntop.c b/src/lib/libc/net/inet_net_ntop.c
index 38978f3ccf..fc9071798a 100644
--- a/src/lib/libc/net/inet_net_ntop.c
+++ b/src/lib/libc/net/inet_net_ntop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_net_ntop.c,v 1.5 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: inet_net_ntop.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996 by Internet Software Consortium. 4 * Copyright (c) 1996 by Internet Software Consortium.
@@ -17,14 +17,6 @@
17 * SOFTWARE. 17 * SOFTWARE.
18 */ 18 */
19 19
20#if defined(LIBC_SCCS) && !defined(lint)
21#if 0
22static const char rcsid[] = "$From: inet_net_ntop.c,v 8.2 1996/08/08 06:54:44 vixie Exp $";
23#else
24static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
25#endif
26#endif
27
28#include <sys/types.h> 20#include <sys/types.h>
29#include <sys/socket.h> 21#include <sys/socket.h>
30#include <netinet/in.h> 22#include <netinet/in.h>
diff --git a/src/lib/libc/net/inet_net_pton.c b/src/lib/libc/net/inet_net_pton.c
index e544ca7e28..9bb35478ca 100644
--- a/src/lib/libc/net/inet_net_pton.c
+++ b/src/lib/libc/net/inet_net_pton.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_net_pton.c,v 1.4 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: inet_net_pton.c,v 1.5 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996 by Internet Software Consortium. 4 * Copyright (c) 1996 by Internet Software Consortium.
@@ -17,14 +17,6 @@
17 * SOFTWARE. 17 * SOFTWARE.
18 */ 18 */
19 19
20#if defined(LIBC_SCCS) && !defined(lint)
21#if 0
22static const char rcsid[] = "$From: inet_net_pton.c,v 8.3 1996/11/11 06:36:52 vixie Exp $";
23#else
24static const char rcsid[] = "$OpenBSD: inet_net_pton.c,v 1.4 2005/03/25 13:24:12 otto Exp $";
25#endif
26#endif
27
28#include <sys/types.h> 20#include <sys/types.h>
29#include <sys/socket.h> 21#include <sys/socket.h>
30#include <netinet/in.h> 22#include <netinet/in.h>
diff --git a/src/lib/libc/net/inet_neta.c b/src/lib/libc/net/inet_neta.c
index c9bb3c0464..e3e7d0eb71 100644
--- a/src/lib/libc/net/inet_neta.c
+++ b/src/lib/libc/net/inet_neta.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_neta.c,v 1.6 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: inet_neta.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996 by Internet Software Consortium. 4 * Copyright (c) 1996 by Internet Software Consortium.
@@ -17,10 +17,6 @@
17 * SOFTWARE. 17 * SOFTWARE.
18 */ 18 */
19 19
20#if defined(LIBC_SCCS) && !defined(lint)
21static const char rcsid[] = "$OpenBSD: inet_neta.c,v 1.6 2005/03/25 13:24:12 otto Exp $";
22#endif
23
24#include <sys/types.h> 20#include <sys/types.h>
25#include <sys/socket.h> 21#include <sys/socket.h>
26#include <netinet/in.h> 22#include <netinet/in.h>
diff --git a/src/lib/libc/net/inet_netof.c b/src/lib/libc/net/inet_netof.c
index 83f346c5f5..2f468c3aca 100644
--- a/src/lib/libc/net/inet_netof.c
+++ b/src/lib/libc/net/inet_netof.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: inet_netof.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: inet_netof.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/param.h> 31#include <sys/param.h>
35#include <netinet/in.h> 32#include <netinet/in.h>
36#include <arpa/inet.h> 33#include <arpa/inet.h>
diff --git a/src/lib/libc/net/inet_network.c b/src/lib/libc/net/inet_network.c
index 7a7956ec83..8b26ba8ff9 100644
--- a/src/lib/libc/net/inet_network.c
+++ b/src/lib/libc/net/inet_network.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: inet_network.c,v 1.10 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: inet_network.c,v 1.9 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/types.h> 31#include <sys/types.h>
35#include <netinet/in.h> 32#include <netinet/in.h>
36#include <arpa/inet.h> 33#include <arpa/inet.h>
diff --git a/src/lib/libc/net/inet_ntoa.c b/src/lib/libc/net/inet_ntoa.c
index 0e7fe863f6..ff5d93ded2 100644
--- a/src/lib/libc/net/inet_ntoa.c
+++ b/src/lib/libc/net/inet_ntoa.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: inet_ntoa.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: inet_ntoa.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34/* 31/*
35 * Convert network-format internet address 32 * Convert network-format internet address
36 * to base 256 d.d.d.d representation. 33 * to base 256 d.d.d.d representation.
diff --git a/src/lib/libc/net/inet_ntop.c b/src/lib/libc/net/inet_ntop.c
index ec5c12983a..d36a0d7889 100644
--- a/src/lib/libc/net/inet_ntop.c
+++ b/src/lib/libc/net/inet_ntop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_ntop.c,v 1.6 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: inet_ntop.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* Copyright (c) 1996 by Internet Software Consortium. 3/* Copyright (c) 1996 by Internet Software Consortium.
4 * 4 *
@@ -16,14 +16,6 @@
16 * SOFTWARE. 16 * SOFTWARE.
17 */ 17 */
18 18
19#if defined(LIBC_SCCS) && !defined(lint)
20#if 0
21static char rcsid[] = "$From: inet_ntop.c,v 8.7 1996/08/05 08:41:18 vixie Exp $";
22#else
23static char rcsid[] = "$OpenBSD: inet_ntop.c,v 1.6 2005/03/25 13:24:12 otto Exp $";
24#endif
25#endif /* LIBC_SCCS and not lint */
26
27#include <sys/param.h> 19#include <sys/param.h>
28#include <sys/types.h> 20#include <sys/types.h>
29#include <sys/socket.h> 21#include <sys/socket.h>
diff --git a/src/lib/libc/net/inet_pton.c b/src/lib/libc/net/inet_pton.c
index ec158d4599..87206ee8b8 100644
--- a/src/lib/libc/net/inet_pton.c
+++ b/src/lib/libc/net/inet_pton.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_pton.c,v 1.5 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: inet_pton.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* Copyright (c) 1996 by Internet Software Consortium. 3/* Copyright (c) 1996 by Internet Software Consortium.
4 * 4 *
@@ -16,14 +16,6 @@
16 * SOFTWARE. 16 * SOFTWARE.
17 */ 17 */
18 18
19#if defined(LIBC_SCCS) && !defined(lint)
20#if 0
21static char rcsid[] = "$From: inet_pton.c,v 8.7 1996/08/05 08:31:35 vixie Exp $";
22#else
23static char rcsid[] = "$OpenBSD: inet_pton.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
24#endif
25#endif /* LIBC_SCCS and not lint */
26
27#include <sys/param.h> 19#include <sys/param.h>
28#include <sys/types.h> 20#include <sys/types.h>
29#include <sys/socket.h> 21#include <sys/socket.h>
diff --git a/src/lib/libc/net/ipx_addr.c b/src/lib/libc/net/ipx_addr.c
index c7f8306128..b65d5f6cfd 100644
--- a/src/lib/libc/net/ipx_addr.c
+++ b/src/lib/libc/net/ipx_addr.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: ipx_addr.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1986, 1993 3 * Copyright (c) 1986, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -32,10 +33,6 @@
32 * from @(#)ipx_addr.c 33 * from @(#)ipx_addr.c
33 */ 34 */
34 35
35#if defined(LIBC_SCCS) && !defined(lint)
36static char rcsid[] = "$OpenBSD: ipx_addr.c,v 1.7 2005/03/25 13:24:12 otto Exp $";
37#endif /* LIBC_SCCS and not lint */
38
39#include <sys/param.h> 36#include <sys/param.h>
40#include <netipx/ipx.h> 37#include <netipx/ipx.h>
41#include <stdio.h> 38#include <stdio.h>
diff --git a/src/lib/libc/net/ipx_ntoa.c b/src/lib/libc/net/ipx_ntoa.c
index 64ba146b31..9b1b6a1c49 100644
--- a/src/lib/libc/net/ipx_ntoa.c
+++ b/src/lib/libc/net/ipx_ntoa.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: ipx_ntoa.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1986, 1993 3 * Copyright (c) 1986, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: ipx_ntoa.c,v 1.5 2003/09/26 06:19:25 deraadt Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/param.h> 31#include <sys/param.h>
35#include <netipx/ipx.h> 32#include <netipx/ipx.h>
36#include <stdio.h> 33#include <stdio.h>
diff --git a/src/lib/libc/net/linkaddr.c b/src/lib/libc/net/linkaddr.c
index fcb0164ca4..ac96f3acdf 100644
--- a/src/lib/libc/net/linkaddr.c
+++ b/src/lib/libc/net/linkaddr.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: linkaddr.c,v 1.5 2005/08/06 20:30:03 espie Exp $ */
1/*- 2/*-
2 * Copyright (c) 1990, 1993 3 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: linkaddr.c,v 1.4 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/types.h> 31#include <sys/types.h>
35#include <sys/socket.h> 32#include <sys/socket.h>
36#include <net/if_dl.h> 33#include <net/if_dl.h>
diff --git a/src/lib/libc/net/nsap_addr.c b/src/lib/libc/net/nsap_addr.c
index 58c0d5e493..50e3bdda95 100644
--- a/src/lib/libc/net/nsap_addr.c
+++ b/src/lib/libc/net/nsap_addr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: nsap_addr.c,v 1.5 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: nsap_addr.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996 by Internet Software Consortium. 4 * Copyright (c) 1996 by Internet Software Consortium.
@@ -17,14 +17,6 @@
17 * SOFTWARE. 17 * SOFTWARE.
18 */ 18 */
19 19
20#if defined(LIBC_SCCS) && !defined(lint)
21#if 0
22static char rcsid[] = "$From: nsap_addr.c,v 8.3 1996/08/05 08:31:35 vixie Exp $";
23#else
24static char rcsid[] = "$OpenBSD: nsap_addr.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
25#endif
26#endif /* LIBC_SCCS and not lint */
27
28#include <sys/types.h> 20#include <sys/types.h>
29#include <sys/param.h> 21#include <sys/param.h>
30#include <sys/socket.h> 22#include <sys/socket.h>
diff --git a/src/lib/libc/net/ntohl.c b/src/lib/libc/net/ntohl.c
index c8b2ca2bb5..36414b7a13 100644
--- a/src/lib/libc/net/ntohl.c
+++ b/src/lib/libc/net/ntohl.c
@@ -1,12 +1,9 @@
1/* $OpenBSD: ntohl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Written by J.T. Conklin <jtc@netbsd.org>. 3 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain. 4 * Public domain.
4 */ 5 */
5 6
6#if defined(LIBC_SCCS) && !defined(lint)
7static char *rcsid = "$OpenBSD: ntohl.c,v 1.5 2005/03/25 13:24:12 otto Exp $";
8#endif /* LIBC_SCCS and not lint */
9
10#include <sys/types.h> 7#include <sys/types.h>
11#include <machine/endian.h> 8#include <machine/endian.h>
12 9
diff --git a/src/lib/libc/net/ntohs.c b/src/lib/libc/net/ntohs.c
index 4c3ab33f31..8f345e84ad 100644
--- a/src/lib/libc/net/ntohs.c
+++ b/src/lib/libc/net/ntohs.c
@@ -1,12 +1,9 @@
1/* $OpenBSD: ntohs.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Written by J.T. Conklin <jtc@netbsd.org>. 3 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain. 4 * Public domain.
4 */ 5 */
5 6
6#if defined(LIBC_SCCS) && !defined(lint)
7static char *rcsid = "$OpenBSD: ntohs.c,v 1.7 2002/02/19 19:39:36 millert Exp $";
8#endif /* LIBC_SCCS and not lint */
9
10#include <sys/types.h> 7#include <sys/types.h>
11#include <machine/endian.h> 8#include <machine/endian.h>
12 9
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c
index bfe8c3ae56..d211f404a2 100644
--- a/src/lib/libc/net/rcmd.c
+++ b/src/lib/libc/net/rcmd.c
@@ -28,10 +28,6 @@
28 * SUCH DAMAGE. 28 * SUCH DAMAGE.
29 */ 29 */
30 30
31#if defined(LIBC_SCCS) && !defined(lint)
32static char *rcsid = "$OpenBSD: rcmd.c,v 1.52 2005/03/25 13:24:12 otto Exp $";
33#endif /* LIBC_SCCS and not lint */
34
35#include <sys/param.h> 31#include <sys/param.h>
36#include <sys/socket.h> 32#include <sys/socket.h>
37#include <sys/stat.h> 33#include <sys/stat.h>
diff --git a/src/lib/libc/net/rcmdsh.c b/src/lib/libc/net/rcmdsh.c
index 28f0ca88a6..34a228d1e9 100644
--- a/src/lib/libc/net/rcmdsh.c
+++ b/src/lib/libc/net/rcmdsh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rcmdsh.c,v 1.10 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: rcmdsh.c,v 1.11 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001, MagniComp 4 * Copyright (c) 2001, MagniComp
@@ -33,10 +33,6 @@
33 * Chris Siebenmann <cks@utcc.utoronto.ca>. 33 * Chris Siebenmann <cks@utcc.utoronto.ca>.
34 */ 34 */
35 35
36#if defined(LIBC_SCCS) && !defined(lint)
37static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.10 2005/03/25 13:24:12 otto Exp $";
38#endif /* LIBC_SCCS and not lint */
39
40#include <sys/types.h> 36#include <sys/types.h>
41#include <sys/socket.h> 37#include <sys/socket.h>
42#include <sys/wait.h> 38#include <sys/wait.h>
diff --git a/src/lib/libc/net/recv.c b/src/lib/libc/net/recv.c
index 981b5e7a6a..6241cc6b12 100644
--- a/src/lib/libc/net/recv.c
+++ b/src/lib/libc/net/recv.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: recv.c,v 1.5 2005/08/06 20:30:03 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1988, 1993 3 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: recv.c,v 1.4 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/types.h> 31#include <sys/types.h>
35#include <sys/socket.h> 32#include <sys/socket.h>
36 33
diff --git a/src/lib/libc/net/res_comp.c b/src/lib/libc/net/res_comp.c
index 62c04d8518..9bdc26dd24 100644
--- a/src/lib/libc/net/res_comp.c
+++ b/src/lib/libc/net/res_comp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_comp.c,v 1.12 2005/03/25 13:24:12 otto Exp $ */ 1/* $OpenBSD: res_comp.c,v 1.13 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1993 4 * ++Copyright++ 1985, 1993
@@ -51,15 +51,6 @@
51 * --Copyright-- 51 * --Copyright--
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint)
55#if 0
56static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93";
57static char rcsid[] = "$From: res_comp.c,v 8.11 1996/12/02 09:17:22 vixie Exp $";
58#else
59static char rcsid[] = "$OpenBSD: res_comp.c,v 1.12 2005/03/25 13:24:12 otto Exp $";
60#endif
61#endif /* LIBC_SCCS and not lint */
62
63#include <sys/types.h> 54#include <sys/types.h>
64#include <sys/param.h> 55#include <sys/param.h>
65#include <netinet/in.h> 56#include <netinet/in.h>
diff --git a/src/lib/libc/net/res_data.c b/src/lib/libc/net/res_data.c
index 967264bcb7..a5f6b03a7f 100644
--- a/src/lib/libc/net/res_data.c
+++ b/src/lib/libc/net/res_data.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_data.c,v 1.2 2003/06/02 20:18:36 millert Exp $ */ 1/* $OpenBSD: res_data.c,v 1.3 2005/08/06 20:30:03 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1995 4 * ++Copyright++ 1995
@@ -51,14 +51,6 @@
51 * --Copyright-- 51 * --Copyright--
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint)
55#if 0
56static char rcsid[] = "$From: res_data.c,v 8.2 1996/08/05 08:31:35 vixie Exp $";
57#else
58static char rcsid[] = "$OpenBSD: res_data.c,v 1.2 2003/06/02 20:18:36 millert Exp $";
59#endif
60#endif /* LIBC_SCCS and not lint */
61
62#include <sys/types.h> 54#include <sys/types.h>
63#include <sys/param.h> 55#include <sys/param.h>
64#include <sys/socket.h> 56#include <sys/socket.h>
diff --git a/src/lib/libc/net/res_debug.c b/src/lib/libc/net/res_debug.c
index 82a067c1f0..8e72c2a5e5 100644
--- a/src/lib/libc/net/res_debug.c
+++ b/src/lib/libc/net/res_debug.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_debug.c,v 1.20 2005/03/30 02:58:28 tedu Exp $ */ 1/* $OpenBSD: res_debug.c,v 1.21 2005/08/06 20:30:04 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1990, 1993 4 * ++Copyright++ 1985, 1990, 1993
@@ -73,15 +73,6 @@
73 * --Copyright-- 73 * --Copyright--
74 */ 74 */
75 75
76#if defined(LIBC_SCCS) && !defined(lint)
77#if 0
78static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93";
79static char rcsid[] = "$From: res_debug.c,v 8.19 1996/11/26 10:11:23 vixie Exp $";
80#else
81static char rcsid[] = "$OpenBSD: res_debug.c,v 1.20 2005/03/30 02:58:28 tedu Exp $";
82#endif
83#endif /* LIBC_SCCS and not lint */
84
85#include <sys/param.h> 76#include <sys/param.h>
86#include <sys/types.h> 77#include <sys/types.h>
87#include <sys/socket.h> 78#include <sys/socket.h>
@@ -836,75 +827,6 @@ __p_rr(const u_char *cp, const u_char *msg, FILE *file)
836 return (cp); 827 return (cp);
837} 828}
838 829
839/*
840 * Names of RR classes and qclasses. Classes and qclasses are the same, except
841 * that C_ANY is a qclass but not a class. (You can ask for records of class
842 * C_ANY, but you can't have any records of that class in the database.)
843 */
844const struct res_sym __p_class_syms[] = {
845 {C_IN, "IN"},
846 {C_CHAOS, "CHAOS"},
847 {C_HS, "HS"},
848 {C_HS, "HESIOD"},
849 {C_ANY, "ANY"},
850 {C_IN, (char *)0}
851};
852
853/*
854 * Names of RR types and qtypes. Types and qtypes are the same, except
855 * that T_ANY is a qtype but not a type. (You can ask for records of type
856 * T_ANY, but you can't have any records of that type in the database.)
857 */
858const struct res_sym __p_type_syms[] = {
859 {T_A, "A", "address"},
860 {T_NS, "NS", "name server"},
861 {T_MD, "MD", "mail destination (deprecated)"},
862 {T_MF, "MF", "mail forwarder (deprecated)"},
863 {T_CNAME, "CNAME", "canonical name"},
864 {T_SOA, "SOA", "start of authority"},
865 {T_MB, "MB", "mailbox"},
866 {T_MG, "MG", "mail group member"},
867 {T_MR, "MR", "mail rename"},
868 {T_NULL, "NULL", "null"},
869 {T_WKS, "WKS", "well-known service (deprecated)"},
870 {T_PTR, "PTR", "domain name pointer"},
871 {T_HINFO, "HINFO", "host information"},
872 {T_MINFO, "MINFO", "mailbox information"},
873 {T_MX, "MX", "mail exchanger"},
874 {T_TXT, "TXT", "text"},
875 {T_RP, "RP", "responsible person"},
876 {T_AFSDB, "AFSDB", "DCE or AFS server"},
877 {T_X25, "X25", "X25 address"},
878 {T_ISDN, "ISDN", "ISDN address"},
879 {T_RT, "RT", "router"},
880 {T_NSAP, "NSAP", "nsap address"},
881 {T_NSAP_PTR, "NSAP_PTR", "domain name pointer"},
882 {T_SIG, "SIG", "signature"},
883 {T_KEY, "KEY", "key"},
884 {T_PX, "PX", "mapping information"},
885 {T_GPOS, "GPOS", "geographical position (withdrawn)"},
886 {T_AAAA, "AAAA", "IPv6 address"},
887 {T_LOC, "LOC", "location"},
888 {T_NXT, "NXT", "next valid name (unimplemented)"},
889 {T_EID, "EID", "endpoint identifier (unimplemented)"},
890 {T_NIMLOC, "NIMLOC", "NIMROD locator (unimplemented)"},
891 {T_SRV, "SRV", "server selection"},
892 {T_ATMA, "ATMA", "ATM address (unimplemented)"},
893 {T_IXFR, "IXFR", "incremental zone transfer"},
894 {T_AXFR, "AXFR", "zone transfer"},
895 {T_MAILB, "MAILB", "mailbox-related data (deprecated)"},
896 {T_MAILA, "MAILA", "mail agent (deprecated)"},
897 {T_UINFO, "UINFO", "user information (nonstandard)"},
898 {T_UID, "UID", "user ID (nonstandard)"},
899 {T_GID, "GID", "group ID (nonstandard)"},
900 {T_NAPTR, "NAPTR", "URN Naming Authority"},
901#ifdef ALLOW_T_UNSPEC
902 {T_UNSPEC, "UNSPEC", "unspecified data (nonstandard)"},
903#endif /* ALLOW_T_UNSPEC */
904 {T_ANY, "ANY", "\"any\""},
905 {0, NULL, NULL}
906};
907
908int 830int
909__sym_ston(const struct res_sym *syms, char *name, int *success) 831__sym_ston(const struct res_sym *syms, char *name, int *success)
910{ 832{
@@ -920,25 +842,6 @@ __sym_ston(const struct res_sym *syms, char *name, int *success)
920 return (syms->number); /* The default value. */ 842 return (syms->number); /* The default value. */
921} 843}
922 844
923const char *
924__sym_ntos(const struct res_sym *syms, int number, int *success)
925{
926 static char unname[20];
927
928 for (; syms->name != 0; syms++) {
929 if (number == syms->number) {
930 if (success)
931 *success = 1;
932 return (syms->name);
933 }
934 }
935
936 snprintf(unname, sizeof unname, "%d", number);
937 if (success)
938 *success = 0;
939 return (unname);
940}
941
942 845
943const char * 846const char *
944__sym_ntop(const struct res_sym *syms, int number, int *success) 847__sym_ntop(const struct res_sym *syms, int number, int *success)
@@ -959,24 +862,6 @@ __sym_ntop(const struct res_sym *syms, int number, int *success)
959} 862}
960 863
961/* 864/*
962 * Return a string for the type
963 */
964const char *
965__p_type(int type)
966{
967 return (__sym_ntos (__p_type_syms, type, (int *)0));
968}
969
970/*
971 * Return a mnemonic for class
972 */
973const char *
974__p_class(int class)
975{
976 return (__sym_ntos (__p_class_syms, class, (int *)0));
977}
978
979/*
980 * Return a mnemonic for an option 865 * Return a mnemonic for an option
981 */ 866 */
982const char * 867const char *
diff --git a/src/lib/libc/net/res_debug_syms.c b/src/lib/libc/net/res_debug_syms.c
new file mode 100644
index 0000000000..7e7d22c914
--- /dev/null
+++ b/src/lib/libc/net/res_debug_syms.c
@@ -0,0 +1,189 @@
1/* $OpenBSD: res_debug_syms.c,v 1.1 2005/08/06 20:30:04 espie Exp $ */
2
3/*
4 * ++Copyright++ 1985, 1990, 1993
5 * -
6 * Copyright (c) 1985, 1990, 1993
7 * The Regents of the University of California. All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:
12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the
16 * documentation and/or other materials provided with the distribution.
17 * 3. Neither the name of the University nor the names of its contributors
18 * may be used to endorse or promote products derived from this software
19 * without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 * -
33 * Portions Copyright (c) 1993 by Digital Equipment Corporation.
34 *
35 * Permission to use, copy, modify, and distribute this software for any
36 * purpose with or without fee is hereby granted, provided that the above
37 * copyright notice and this permission notice appear in all copies, and that
38 * the name of Digital Equipment Corporation not be used in advertising or
39 * publicity pertaining to distribution of the document or software without
40 * specific, written prior permission.
41 *
42 * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
43 * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
44 * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
45 * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
46 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
47 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
48 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
49 * SOFTWARE.
50 * -
51 * Portions Copyright (c) 1995 by International Business Machines, Inc.
52 *
53 * International Business Machines, Inc. (hereinafter called IBM) grants
54 * permission under its copyrights to use, copy, modify, and distribute this
55 * Software with or without fee, provided that the above copyright notice and
56 * all paragraphs of this notice appear in all copies, and that the name of IBM
57 * not be used in connection with the marketing of any product incorporating
58 * the Software or modifications thereof, without specific, written prior
59 * permission.
60 *
61 * To the extent it has a right to do so, IBM grants an immunity from suit
62 * under its patents, if any, for the use, sale or manufacture of products to
63 * the extent that such products are used for performing Domain Name System
64 * dynamic updates in TCP/IP networks by means of the Software. No immunity is
65 * granted for any product per se or for any other function of any product.
66 *
67 * THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES,
68 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
69 * PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL,
70 * DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING
71 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
72 * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
73 * --Copyright--
74 */
75
76
77#include <sys/types.h>
78#include <netinet/in.h>
79#include <arpa/nameser.h>
80
81#include <resolv.h>
82#include <stdio.h>
83
84/*
85 * Names of RR classes and qclasses. Classes and qclasses are the same, except
86 * that C_ANY is a qclass but not a class. (You can ask for records of class
87 * C_ANY, but you can't have any records of that class in the database.)
88 */
89const struct res_sym __p_class_syms[] = {
90 {C_IN, "IN"},
91 {C_CHAOS, "CHAOS"},
92 {C_HS, "HS"},
93 {C_HS, "HESIOD"},
94 {C_ANY, "ANY"},
95 {C_IN, (char *)0}
96};
97
98/*
99 * Names of RR types and qtypes. Types and qtypes are the same, except
100 * that T_ANY is a qtype but not a type. (You can ask for records of type
101 * T_ANY, but you can't have any records of that type in the database.)
102 */
103const struct res_sym __p_type_syms[] = {
104 {T_A, "A", "address"},
105 {T_NS, "NS", "name server"},
106 {T_MD, "MD", "mail destination (deprecated)"},
107 {T_MF, "MF", "mail forwarder (deprecated)"},
108 {T_CNAME, "CNAME", "canonical name"},
109 {T_SOA, "SOA", "start of authority"},
110 {T_MB, "MB", "mailbox"},
111 {T_MG, "MG", "mail group member"},
112 {T_MR, "MR", "mail rename"},
113 {T_NULL, "NULL", "null"},
114 {T_WKS, "WKS", "well-known service (deprecated)"},
115 {T_PTR, "PTR", "domain name pointer"},
116 {T_HINFO, "HINFO", "host information"},
117 {T_MINFO, "MINFO", "mailbox information"},
118 {T_MX, "MX", "mail exchanger"},
119 {T_TXT, "TXT", "text"},
120 {T_RP, "RP", "responsible person"},
121 {T_AFSDB, "AFSDB", "DCE or AFS server"},
122 {T_X25, "X25", "X25 address"},
123 {T_ISDN, "ISDN", "ISDN address"},
124 {T_RT, "RT", "router"},
125 {T_NSAP, "NSAP", "nsap address"},
126 {T_NSAP_PTR, "NSAP_PTR", "domain name pointer"},
127 {T_SIG, "SIG", "signature"},
128 {T_KEY, "KEY", "key"},
129 {T_PX, "PX", "mapping information"},
130 {T_GPOS, "GPOS", "geographical position (withdrawn)"},
131 {T_AAAA, "AAAA", "IPv6 address"},
132 {T_LOC, "LOC", "location"},
133 {T_NXT, "NXT", "next valid name (unimplemented)"},
134 {T_EID, "EID", "endpoint identifier (unimplemented)"},
135 {T_NIMLOC, "NIMLOC", "NIMROD locator (unimplemented)"},
136 {T_SRV, "SRV", "server selection"},
137 {T_ATMA, "ATMA", "ATM address (unimplemented)"},
138 {T_IXFR, "IXFR", "incremental zone transfer"},
139 {T_AXFR, "AXFR", "zone transfer"},
140 {T_MAILB, "MAILB", "mailbox-related data (deprecated)"},
141 {T_MAILA, "MAILA", "mail agent (deprecated)"},
142 {T_UINFO, "UINFO", "user information (nonstandard)"},
143 {T_UID, "UID", "user ID (nonstandard)"},
144 {T_GID, "GID", "group ID (nonstandard)"},
145 {T_NAPTR, "NAPTR", "URN Naming Authority"},
146#ifdef ALLOW_T_UNSPEC
147 {T_UNSPEC, "UNSPEC", "unspecified data (nonstandard)"},
148#endif /* ALLOW_T_UNSPEC */
149 {T_ANY, "ANY", "\"any\""},
150 {0, NULL, NULL}
151};
152
153const char *
154__sym_ntos(const struct res_sym *syms, int number, int *success)
155{
156 static char unname[20];
157
158 for (; syms->name != 0; syms++) {
159 if (number == syms->number) {
160 if (success)
161 *success = 1;
162 return (syms->name);
163 }
164 }
165
166 snprintf(unname, sizeof unname, "%d", number);
167 if (success)
168 *success = 0;
169 return (unname);
170}
171
172/*
173 * Return a string for the type
174 */
175const char *
176__p_type(int type)
177{
178 return (__sym_ntos (__p_type_syms, type, (int *)0));
179}
180
181/*
182 * Return a mnemonic for class
183 */
184const char *
185__p_class(int class)
186{
187 return (__sym_ntos (__p_class_syms, class, (int *)0));
188}
189
diff --git a/src/lib/libc/net/res_init.c b/src/lib/libc/net/res_init.c
index 110542a404..62ccb94630 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.32 2005/03/30 02:58:28 tedu Exp $ */ 1/* $OpenBSD: res_init.c,v 1.33 2005/08/06 20:30:04 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1989, 1993 4 * ++Copyright++ 1985, 1989, 1993
@@ -55,15 +55,6 @@
55#define INET6 55#define INET6
56#endif 56#endif
57 57
58#if defined(LIBC_SCCS) && !defined(lint)
59#if 0
60static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93";
61static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $";
62#else
63static char rcsid[] = "$OpenBSD: res_init.c,v 1.32 2005/03/30 02:58:28 tedu Exp $";
64#endif
65#endif /* LIBC_SCCS and not lint */
66
67#include <sys/types.h> 58#include <sys/types.h>
68#include <sys/param.h> 59#include <sys/param.h>
69#include <sys/socket.h> 60#include <sys/socket.h>
diff --git a/src/lib/libc/net/res_mkquery.c b/src/lib/libc/net/res_mkquery.c
index a6c37379f9..5c6b273abe 100644
--- a/src/lib/libc/net/res_mkquery.c
+++ b/src/lib/libc/net/res_mkquery.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_mkquery.c,v 1.16 2005/03/30 02:58:28 tedu Exp $ */ 1/* $OpenBSD: res_mkquery.c,v 1.17 2005/08/06 20:30:04 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1993 4 * ++Copyright++ 1985, 1993
@@ -51,15 +51,6 @@
51 * --Copyright-- 51 * --Copyright--
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint)
55#if 0
56static char sccsid[] = "@(#)res_mkquery.c 8.1 (Berkeley) 6/4/93";
57static char rcsid[] = "$From: res_mkquery.c,v 8.5 1996/08/27 08:33:28 vixie Exp $";
58#else
59static char rcsid[] = "$OpenBSD: res_mkquery.c,v 1.16 2005/03/30 02:58:28 tedu Exp $";
60#endif
61#endif /* LIBC_SCCS and not lint */
62
63#include <sys/types.h> 54#include <sys/types.h>
64#include <sys/param.h> 55#include <sys/param.h>
65#include <netinet/in.h> 56#include <netinet/in.h>
diff --git a/src/lib/libc/net/res_query.c b/src/lib/libc/net/res_query.c
index 4af1651cf1..32cd04306c 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.23 2005/03/30 02:58:28 tedu Exp $ */ 1/* $OpenBSD: res_query.c,v 1.24 2005/08/06 20:30:04 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1988, 1993 4 * ++Copyright++ 1988, 1993
@@ -51,15 +51,6 @@
51 * --Copyright-- 51 * --Copyright--
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint)
55#if 0
56static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93";
57static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $";
58#else
59static char rcsid[] = "$OpenBSD: res_query.c,v 1.23 2005/03/30 02:58:28 tedu Exp $";
60#endif
61#endif /* LIBC_SCCS and not lint */
62
63#include <sys/types.h> 54#include <sys/types.h>
64#include <sys/param.h> 55#include <sys/param.h>
65#include <netinet/in.h> 56#include <netinet/in.h>
diff --git a/src/lib/libc/net/res_send.c b/src/lib/libc/net/res_send.c
index ee7ce43035..f7631350bc 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.18 2005/03/30 02:58:28 tedu Exp $ */ 1/* $OpenBSD: res_send.c,v 1.19 2005/08/06 20:30:04 espie Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1989, 1993 4 * ++Copyright++ 1985, 1989, 1993
@@ -55,15 +55,6 @@
55#define INET6 55#define INET6
56#endif 56#endif
57 57
58#if defined(LIBC_SCCS) && !defined(lint)
59#if 0
60static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
61static char rcsid[] = "$From: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp $";
62#else
63static char rcsid[] = "$OpenBSD: res_send.c,v 1.18 2005/03/30 02:58:28 tedu Exp $";
64#endif
65#endif /* LIBC_SCCS and not lint */
66
67 /* change this to "0" 58 /* change this to "0"
68 * if you talk to a lot 59 * if you talk to a lot
69 * of multi-homed SunOS 60 * of multi-homed SunOS
diff --git a/src/lib/libc/net/rresvport.c b/src/lib/libc/net/rresvport.c
index eee872898b..98630ce3c7 100644
--- a/src/lib/libc/net/rresvport.c
+++ b/src/lib/libc/net/rresvport.c
@@ -28,10 +28,6 @@
28 * SUCH DAMAGE. 28 * SUCH DAMAGE.
29 */ 29 */
30 30
31#if defined(LIBC_SCCS) && !defined(lint)
32static char *rcsid = "$OpenBSD: rresvport.c,v 1.7 2005/03/25 13:24:12 otto Exp $";
33#endif /* LIBC_SCCS and not lint */
34
35#include <sys/param.h> 31#include <sys/param.h>
36#include <sys/socket.h> 32#include <sys/socket.h>
37#include <sys/stat.h> 33#include <sys/stat.h>
diff --git a/src/lib/libc/net/send.c b/src/lib/libc/net/send.c
index f28933369c..1bfc80b87a 100644
--- a/src/lib/libc/net/send.c
+++ b/src/lib/libc/net/send.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: send.c,v 1.5 2005/08/06 20:30:04 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1988, 1993 3 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: send.c,v 1.4 2005/03/25 13:24:12 otto Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/types.h> 31#include <sys/types.h>
35#include <sys/socket.h> 32#include <sys/socket.h>
36 33
diff --git a/src/lib/libc/net/sethostent.c b/src/lib/libc/net/sethostent.c
index c0eae942ca..6f6d0e405a 100644
--- a/src/lib/libc/net/sethostent.c
+++ b/src/lib/libc/net/sethostent.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: sethostent.c,v 1.9 2005/08/06 20:30:04 espie Exp $ */
1/* 2/*
2 * Copyright (c) 1985, 1993 3 * Copyright (c) 1985, 1993
3 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -27,10 +28,6 @@
27 * SUCH DAMAGE. 28 * SUCH DAMAGE.
28 */ 29 */
29 30
30#if defined(LIBC_SCCS) && !defined(lint)
31static char rcsid[] = "$OpenBSD: sethostent.c,v 1.8 2005/03/30 02:58:28 tedu Exp $";
32#endif /* LIBC_SCCS and not lint */
33
34#include <sys/param.h> 31#include <sys/param.h>
35#include <netinet/in.h> 32#include <netinet/in.h>
36#include <arpa/nameser.h> 33#include <arpa/nameser.h>