diff options
| -rw-r--r-- | gnu/usr.bin/ld/ld/warnings.c | 4 | ||||
| -rw-r--r-- | lib/libedit/read.c | 7 | ||||
| -rw-r--r-- | libexec/rmail/rmail.c | 6 | ||||
| -rw-r--r-- | libexec/rpc.rstatd/rstat_proc.c | 7 | ||||
| -rw-r--r-- | usr.bin/crunch/crunchide/crunchide.c | 6 | ||||
| -rw-r--r-- | usr.bin/crunch/crunchide/exec_aout.c | 6 | ||||
| -rw-r--r-- | usr.bin/elf2ecoff/elf2ecoff.c | 5 | ||||
| -rw-r--r-- | usr.bin/ktrace/ktrace.c | 6 | ||||
| -rw-r--r-- | usr.sbin/bootp/common/readfile.c | 4 | ||||
| -rw-r--r-- | usr.sbin/hilinfo/hilinfo.c | 7 | ||||
| -rw-r--r-- | usr.sbin/mopd/common/loop-bsd.c | 6 | ||||
| -rw-r--r-- | usr.sbin/rarpd/rarpd.c | 6 | ||||
| -rw-r--r-- | usr.sbin/sendmail/makemap/makemap.c | 4 | ||||
| -rw-r--r-- | usr.sbin/sup/source/supcdefs.h | 4 | ||||
| -rw-r--r-- | usr.sbin/ypserv/yppush/yppush.c | 4 |
15 files changed, 39 insertions, 43 deletions
diff --git a/gnu/usr.bin/ld/ld/warnings.c b/gnu/usr.bin/ld/ld/warnings.c index 0b8de498b14..1ca42069bac 100644 --- a/gnu/usr.bin/ld/ld/warnings.c +++ b/gnu/usr.bin/ld/ld/warnings.c @@ -1,12 +1,12 @@ -/* $NetBSD: warnings.c,v 1.23 1998/12/17 14:34:52 pk Exp $ */ +/* $NetBSD: warnings.c,v 1.24 1999/01/11 22:39:59 kleink Exp $ */ #include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/file.h> #include <sys/time.h> -#include <sys/errno.h> #include <err.h> +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> diff --git a/lib/libedit/read.c b/lib/libedit/read.c index f975a96fbd1..f57c293f191 100644 --- a/lib/libedit/read.c +++ b/lib/libedit/read.c @@ -1,4 +1,4 @@ -/* $NetBSD: read.c,v 1.10 1998/12/12 20:08:22 christos Exp $ */ +/* $NetBSD: read.c,v 1.11 1999/01/11 22:40:00 kleink Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: read.c,v 1.10 1998/12/12 20:08:22 christos Exp $"); +__RCSID("$NetBSD: read.c,v 1.11 1999/01/11 22:40:00 kleink Exp $"); #endif #endif /* not lint && not SCCSID */ @@ -50,10 +50,9 @@ __RCSID("$NetBSD: read.c,v 1.10 1998/12/12 20:08:22 christos Exp $"); * Terminal read functions */ #include "sys.h" -#include <sys/errno.h> +#include <errno.h> #include <unistd.h> #include <stdlib.h> -extern int errno; #include "el.h" #define OKCMD -1 diff --git a/libexec/rmail/rmail.c b/libexec/rmail/rmail.c index 7ae0fea229d..c729d766ae8 100644 --- a/libexec/rmail/rmail.c +++ b/libexec/rmail/rmail.c @@ -1,4 +1,4 @@ -/* $NetBSD: rmail.c,v 1.12 1998/08/25 19:11:12 ross Exp $ */ +/* $NetBSD: rmail.c,v 1.13 1999/01/11 22:40:00 kleink Exp $ */ /* * Copyright (c) 1988, 1993 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)rmail.c 8.3 (Berkeley) 5/15/95"; #else -__RCSID("$NetBSD: rmail.c,v 1.12 1998/08/25 19:11:12 ross Exp $"); +__RCSID("$NetBSD: rmail.c,v 1.13 1999/01/11 22:40:00 kleink Exp $"); #endif #endif /* not lint */ @@ -68,12 +68,12 @@ __RCSID("$NetBSD: rmail.c,v 1.12 1998/08/25 19:11:12 ross Exp $"); * The err(3) routine is included here deliberately to make this code * a bit more portable. */ -#include <sys/errno.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/wait.h> #include <ctype.h> +#include <errno.h> #include <fcntl.h> #include <paths.h> #include <stdio.h> diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c index 2d8bb952eb2..fddfaf8504a 100644 --- a/libexec/rpc.rstatd/rstat_proc.c +++ b/libexec/rpc.rstatd/rstat_proc.c @@ -1,4 +1,4 @@ -/* $NetBSD: rstat_proc.c,v 1.26 1998/08/10 02:57:23 perry Exp $ */ +/* $NetBSD: rstat_proc.c,v 1.27 1999/01/11 22:40:00 kleink Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -35,7 +35,7 @@ static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro"; static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC"; #else -__RCSID("$NetBSD: rstat_proc.c,v 1.26 1998/08/10 02:57:23 perry Exp $"); +__RCSID("$NetBSD: rstat_proc.c,v 1.27 1999/01/11 22:40:00 kleink Exp $"); #endif #endif @@ -46,9 +46,9 @@ __RCSID("$NetBSD: rstat_proc.c,v 1.26 1998/08/10 02:57:23 perry Exp $"); */ #include <sys/param.h> -#include <sys/errno.h> #include <sys/socket.h> +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -138,7 +138,6 @@ int havedisk __P((void)); void rstat_service __P((struct svc_req *, SVCXPRT *)); static int stat_is_init = 0; -extern int errno; #ifndef FSCALE #define FSCALE (1 << 8) diff --git a/usr.bin/crunch/crunchide/crunchide.c b/usr.bin/crunch/crunchide/crunchide.c index 04bec03d07c..76f6a7d8e96 100644 --- a/usr.bin/crunch/crunchide/crunchide.c +++ b/usr.bin/crunch/crunchide/crunchide.c @@ -1,4 +1,4 @@ -/* $NetBSD: crunchide.c,v 1.8 1997/11/01 06:51:45 lukem Exp $ */ +/* $NetBSD: crunchide.c,v 1.9 1999/01/11 22:40:00 kleink Exp $ */ /* * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved. * Copyright (c) 1994 University of Maryland @@ -60,7 +60,7 @@ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: crunchide.c,v 1.8 1997/11/01 06:51:45 lukem Exp $"); +__RCSID("$NetBSD: crunchide.c,v 1.9 1999/01/11 22:40:00 kleink Exp $"); #endif #include <unistd.h> @@ -68,10 +68,10 @@ __RCSID("$NetBSD: crunchide.c,v 1.8 1997/11/01 06:51:45 lukem Exp $"); #include <stdlib.h> #include <string.h> #include <fcntl.h> +#include <errno.h> #include <a.out.h> #include <sys/types.h> #include <sys/stat.h> -#include <sys/errno.h> #include "extern.h" diff --git a/usr.bin/crunch/crunchide/exec_aout.c b/usr.bin/crunch/crunchide/exec_aout.c index 9f681156012..607835f8d53 100644 --- a/usr.bin/crunch/crunchide/exec_aout.c +++ b/usr.bin/crunch/crunchide/exec_aout.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_aout.c,v 1.6 1997/08/02 21:30:17 perry Exp $ */ +/* $NetBSD: exec_aout.c,v 1.7 1999/01/11 22:40:00 kleink Exp $ */ /* * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved. * Copyright (c) 1994 University of Maryland @@ -27,17 +27,17 @@ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: exec_aout.c,v 1.6 1997/08/02 21:30:17 perry Exp $"); +__RCSID("$NetBSD: exec_aout.c,v 1.7 1999/01/11 22:40:00 kleink Exp $"); #endif #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> #include <a.out.h> #include <sys/types.h> #include <sys/stat.h> -#include <sys/errno.h> #include "extern.h" diff --git a/usr.bin/elf2ecoff/elf2ecoff.c b/usr.bin/elf2ecoff/elf2ecoff.c index 3758a246056..505dc62f6a1 100644 --- a/usr.bin/elf2ecoff/elf2ecoff.c +++ b/usr.bin/elf2ecoff/elf2ecoff.c @@ -1,4 +1,4 @@ -/* $NetBSD: elf2ecoff.c,v 1.11 1998/11/27 05:09:50 simonb Exp $ */ +/* $NetBSD: elf2ecoff.c,v 1.12 1999/01/11 22:40:00 kleink Exp $ */ /* * Copyright (c) 1997 Jonathan Stone @@ -39,6 +39,7 @@ #include <sys/types.h> #include <err.h> +#include <errno.h> #include <fcntl.h> #include <unistd.h> #include <sys/exec.h> @@ -46,7 +47,6 @@ #include <sys/exec_aout.h> #include <stdio.h> #include <sys/exec_ecoff.h> -#include <sys/errno.h> #include <stdlib.h> #include <string.h> #include <limits.h> @@ -110,7 +110,6 @@ write_ecoff_symhdr(int outfile, struct ecoff_exechdr * ep, void pad16(int fd, int size, const char *msg); -extern int errno; int *symTypeTable; diff --git a/usr.bin/ktrace/ktrace.c b/usr.bin/ktrace/ktrace.c index e97f44e33cc..3ee1c290d80 100644 --- a/usr.bin/ktrace/ktrace.c +++ b/usr.bin/ktrace/ktrace.c @@ -1,4 +1,4 @@ -/* $NetBSD: ktrace.c,v 1.9 1998/07/14 01:39:59 nathanw Exp $ */ +/* $NetBSD: ktrace.c,v 1.10 1999/01/11 22:40:01 kleink Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)ktrace.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: ktrace.c,v 1.9 1998/07/14 01:39:59 nathanw Exp $"); +__RCSID("$NetBSD: ktrace.c,v 1.10 1999/01/11 22:40:01 kleink Exp $"); #endif #endif /* not lint */ @@ -51,11 +51,11 @@ __RCSID("$NetBSD: ktrace.c,v 1.9 1998/07/14 01:39:59 nathanw Exp $"); #include <sys/stat.h> #include <sys/file.h> #include <sys/time.h> -#include <sys/errno.h> #include <sys/uio.h> #include <sys/ktrace.h> #include <err.h> +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/usr.sbin/bootp/common/readfile.c b/usr.sbin/bootp/common/readfile.c index 0111bec0093..0086a3e6f26 100644 --- a/usr.sbin/bootp/common/readfile.c +++ b/usr.sbin/bootp/common/readfile.c @@ -22,7 +22,7 @@ SOFTWARE. #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: readfile.c,v 1.6 1998/04/02 11:55:52 kleink Exp $"); +__RCSID("$NetBSD: readfile.c,v 1.7 1999/01/11 22:40:01 kleink Exp $"); #endif @@ -35,13 +35,13 @@ __RCSID("$NetBSD: readfile.c,v 1.6 1998/04/02 11:55:52 kleink Exp $"); */ -#include <sys/errno.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/file.h> #include <sys/time.h> #include <netinet/in.h> +#include <errno.h> #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/usr.sbin/hilinfo/hilinfo.c b/usr.sbin/hilinfo/hilinfo.c index 974907d6d29..a2c22ca61c1 100644 --- a/usr.sbin/hilinfo/hilinfo.c +++ b/usr.sbin/hilinfo/hilinfo.c @@ -19,18 +19,18 @@ * improvements that they make and grant CSS redistribution rights. * * from: Utah $Hdr: hilinfo.c 1.3 94/04/04$ - * $NetBSD: hilinfo.c,v 1.2 1997/10/17 07:06:04 lukem Exp $ + * $NetBSD: hilinfo.c,v 1.3 1999/01/11 22:40:01 kleink Exp $ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hilinfo.c,v 1.2 1997/10/17 07:06:04 lukem Exp $"); +__RCSID("$NetBSD: hilinfo.c,v 1.3 1999/01/11 22:40:01 kleink Exp $"); #endif #include <sys/types.h> -#include <sys/errno.h> #include <sys/ioctl.h> #include <dev/hilioctl.h> +#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> @@ -106,7 +106,6 @@ int getinfo() { int f; - extern int errno; f = open(dname, 0); if (f < 0 || ioctl(f, HILIOCID, &hi) < 0) { diff --git a/usr.sbin/mopd/common/loop-bsd.c b/usr.sbin/mopd/common/loop-bsd.c index 63150f5c354..d7773509cbb 100644 --- a/usr.sbin/mopd/common/loop-bsd.c +++ b/usr.sbin/mopd/common/loop-bsd.c @@ -1,4 +1,4 @@ -/* $NetBSD: loop-bsd.c,v 1.4 1998/02/03 04:51:29 perry Exp $ */ +/* $NetBSD: loop-bsd.c,v 1.5 1999/01/11 22:40:01 kleink Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -31,9 +31,10 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: loop-bsd.c,v 1.4 1998/02/03 04:51:29 perry Exp $"); +__RCSID("$NetBSD: loop-bsd.c,v 1.5 1999/01/11 22:40:01 kleink Exp $"); #endif +#include <errno.h> #include <stdlib.h> #include <strings.h> #include <unistd.h> @@ -42,7 +43,6 @@ __RCSID("$NetBSD: loop-bsd.c,v 1.4 1998/02/03 04:51:29 perry Exp $"); #endif #include <net/bpf.h> #include <sys/ioctl.h> -#include <sys/errno.h> #include "os.h" #include "common.h" diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index e142add223f..686352c174d 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -1,4 +1,4 @@ -/* $NetBSD: rarpd.c,v 1.30 1998/10/06 15:50:30 fvdl Exp $ */ +/* $NetBSD: rarpd.c,v 1.31 1999/01/11 22:40:01 kleink Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -28,7 +28,7 @@ __COPYRIGHT( #endif /* not lint */ #ifndef lint -__RCSID("$NetBSD: rarpd.c,v 1.30 1998/10/06 15:50:30 fvdl Exp $"); +__RCSID("$NetBSD: rarpd.c,v 1.31 1999/01/11 22:40:01 kleink Exp $"); #endif @@ -40,7 +40,6 @@ __RCSID("$NetBSD: rarpd.c,v 1.30 1998/10/06 15:50:30 fvdl Exp $"); */ #include <sys/types.h> -#include <sys/errno.h> #include <sys/file.h> #include <sys/time.h> #include <sys/socket.h> @@ -62,6 +61,7 @@ __RCSID("$NetBSD: rarpd.c,v 1.30 1998/10/06 15:50:30 fvdl Exp $"); #include <arpa/inet.h> +#include <errno.h> #include <dirent.h> #include <netdb.h> #include <stdio.h> diff --git a/usr.sbin/sendmail/makemap/makemap.c b/usr.sbin/sendmail/makemap/makemap.c index 2b97799e185..c9911290e18 100644 --- a/usr.sbin/sendmail/makemap/makemap.c +++ b/usr.sbin/sendmail/makemap/makemap.c @@ -1,4 +1,4 @@ -/* $NetBSD: makemap.c,v 1.13 1998/01/09 08:10:46 perry Exp $ */ +/* $NetBSD: makemap.c,v 1.14 1999/01/11 22:40:01 kleink Exp $ */ /* * Copyright (c) 1992 Eric P. Allman. @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)makemap.c 8.38 (Berkeley) 9/23/97"; #endif /* not lint */ #include <sys/types.h> -#include <sys/errno.h> +#include <errno.h> #ifndef ISC_UNIX # include <sys/file.h> #endif diff --git a/usr.sbin/sup/source/supcdefs.h b/usr.sbin/sup/source/supcdefs.h index 5126924f401..10f020e75c9 100644 --- a/usr.sbin/sup/source/supcdefs.h +++ b/usr.sbin/sup/source/supcdefs.h @@ -1,4 +1,4 @@ -/* $NetBSD: supcdefs.h,v 1.5 1997/06/17 18:56:44 christos Exp $ */ +/* $NetBSD: supcdefs.h,v 1.6 1999/01/11 22:40:01 kleink Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -55,6 +55,7 @@ ********************************************************************** */ +#include <errno.h> #include <libc.h> #include <netdb.h> #include <signal.h> @@ -68,7 +69,6 @@ #include <sys/stat.h> #include <sys/time.h> #include <sys/file.h> -#include <sys/errno.h> #if MACH /* used by resource pausing code only */ #include <sys/ioctl.h> #include <sys/resource.h> diff --git a/usr.sbin/ypserv/yppush/yppush.c b/usr.sbin/ypserv/yppush/yppush.c index c6709272501..e14a3a50976 100644 --- a/usr.sbin/ypserv/yppush/yppush.c +++ b/usr.sbin/ypserv/yppush/yppush.c @@ -1,4 +1,4 @@ -/* $NetBSD: yppush.c,v 1.9 1997/11/18 22:58:00 thorpej Exp $ */ +/* $NetBSD: yppush.c,v 1.10 1999/01/11 22:40:01 kleink Exp $ */ /* * @@ -37,7 +37,6 @@ * yppush.c. i have restructured and cleaned up the entire file. */ #include <sys/types.h> -#include <sys/errno.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/time.h> @@ -45,6 +44,7 @@ #include <ctype.h> #include <err.h> +#include <errno.h> #include <fcntl.h> #include <signal.h> #include <stdio.h> |
