diff options
author | 2006-01-23 17:29:22 +0000 | |
---|---|---|
committer | 2006-01-23 17:29:22 +0000 | |
commit | d07eb5f84f0b507462289200879f476e3a3ab86e (patch) | |
tree | d9b69d496fd15c0997f754654389e88cb8849bf8 | |
parent | display usage if an unknown option is specified; (diff) | |
download | wireguard-openbsd-d07eb5f84f0b507462289200879f476e3a3ab86e.tar.xz wireguard-openbsd-d07eb5f84f0b507462289200879f476e3a3ab86e.zip |
Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN
-rw-r--r-- | libexec/tftpd/tftpd.c | 6 | ||||
-rw-r--r-- | usr.bin/cdio/cddb.c | 4 | ||||
-rw-r--r-- | usr.bin/finger/net.c | 6 | ||||
-rw-r--r-- | usr.bin/sup/src/supscan.c | 4 | ||||
-rw-r--r-- | usr.bin/tftp/main.c | 6 | ||||
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 6 | ||||
-rw-r--r-- | usr.sbin/tcpdump/addrtoname.c | 6 |
7 files changed, 19 insertions, 19 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c index f8aa20651f2..270e8eed95b 100644 --- a/libexec/tftpd/tftpd.c +++ b/libexec/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.40 2005/03/10 10:22:32 claudio Exp $ */ +/* $OpenBSD: tftpd.c,v 1.41 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -37,7 +37,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)tftpd.c 5.13 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$OpenBSD: tftpd.c,v 1.40 2005/03/10 10:22:32 claudio Exp $"; +static char rcsid[] = "$OpenBSD: tftpd.c,v 1.41 2006/01/23 17:29:22 millert Exp $"; #endif /* not lint */ /* @@ -46,7 +46,7 @@ static char rcsid[] = "$OpenBSD: tftpd.c,v 1.40 2005/03/10 10:22:32 claudio Exp * This version includes many modifications by Jim Guyton <guyton@rand-unix> */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <sys/uio.h> diff --git a/usr.bin/cdio/cddb.c b/usr.bin/cdio/cddb.c index 847516a2cf7..9cf1e91656e 100644 --- a/usr.bin/cdio/cddb.c +++ b/usr.bin/cdio/cddb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cddb.c,v 1.10 2006/01/17 00:56:04 aaron Exp $ */ +/* $OpenBSD: cddb.c,v 1.11 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 2002 Marc Espie. * @@ -24,7 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/cdio.h> diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c index 75ab36a084a..73b5e23bec2 100644 --- a/usr.bin/finger/net.c +++ b/usr.bin/finger/net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net.c,v 1.10 2004/03/15 02:50:29 tedu Exp $ */ +/* $OpenBSD: net.c,v 1.11 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -34,10 +34,10 @@ #ifndef lint /*static char sccsid[] = "from: @(#)net.c 5.5 (Berkeley) 6/1/90";*/ -static const char rcsid[] = "$OpenBSD: net.c,v 1.10 2004/03/15 02:50:29 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: net.c,v 1.11 2006/01/23 17:29:22 millert Exp $"; #endif /* not lint */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/usr.bin/sup/src/supscan.c b/usr.bin/sup/src/supscan.c index e70872fde80..cfde90008e8 100644 --- a/usr.bin/sup/src/supscan.c +++ b/usr.bin/sup/src/supscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: supscan.c,v 1.13 2002/02/19 19:39:39 millert Exp $ */ +/* $OpenBSD: supscan.c,v 1.14 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -117,7 +117,7 @@ #include <setjmp.h> #include <stdarg.h> #include <sys/time.h> -#include <sys/types.h> +#include <sys/param.h> #include "supcdefs.h" #include "supextern.h" diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index f29402bc757..dec04278a25 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech Exp $ */ +/* $OpenBSD: main.c,v 1.23 2006/01/23 17:29:22 millert Exp $ */ /* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech Exp $"; +static const char rcsid[] = "$OpenBSD: main.c,v 1.23 2006/01/23 17:29:22 millert Exp $"; #endif /* not lint */ /* Many bug fixes are from Jim Guyton <guyton@rand-unix> */ @@ -48,7 +48,7 @@ static const char rcsid[] = "$OpenBSD: main.c,v 1.22 2004/02/19 08:43:37 mpech E /* * TFTP User Program -- Command Interface. */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <sys/file.h> diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index d093f8bd193..9b9015be016 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rarpd.c,v 1.45 2005/12/21 01:40:24 millert Exp $ */ +/* $OpenBSD: rarpd.c,v 1.46 2006/01/23 17:29:22 millert Exp $ */ /* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */ /* @@ -28,7 +28,7 @@ char copyright[] = #endif /* not lint */ #ifndef lint -static char rcsid[] = "$OpenBSD: rarpd.c,v 1.45 2005/12/21 01:40:24 millert Exp $"; +static char rcsid[] = "$OpenBSD: rarpd.c,v 1.46 2006/01/23 17:29:22 millert Exp $"; #endif @@ -44,7 +44,7 @@ static char rcsid[] = "$OpenBSD: rarpd.c,v 1.45 2005/12/21 01:40:24 millert Exp #include <syslog.h> #include <string.h> #include <stdarg.h> -#include <sys/types.h> +#include <sys/param.h> #include <unistd.h> #include <sys/time.h> #include <net/bpf.h> diff --git a/usr.sbin/tcpdump/addrtoname.c b/usr.sbin/tcpdump/addrtoname.c index fd32d8b9616..157a0761615 100644 --- a/usr.sbin/tcpdump/addrtoname.c +++ b/usr.sbin/tcpdump/addrtoname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: addrtoname.c,v 1.26 2005/05/22 18:41:33 moritz Exp $ */ +/* $OpenBSD: addrtoname.c,v 1.27 2006/01/23 17:29:22 millert Exp $ */ /* * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -25,10 +25,10 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/addrtoname.c,v 1.26 2005/05/22 18:41:33 moritz Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/addrtoname.c,v 1.27 2006/01/23 17:29:22 millert Exp $ (LBL)"; #endif -#include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> #include <sys/time.h> |