diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/inetd/inetd.c | 5 | ||||
-rw-r--r-- | usr.sbin/named/dnsquery/dnsquery.c | 3 | ||||
-rw-r--r-- | usr.sbin/named/host/send.c | 3 | ||||
-rw-r--r-- | usr.sbin/ndp/ndp.c | 3 | ||||
-rw-r--r-- | usr.sbin/rarpd/arptab.c | 1 | ||||
-rw-r--r-- | usr.sbin/repquota/repquota.c | 3 | ||||
-rw-r--r-- | usr.sbin/rpc.pcnfsd/pcnfsd_cache.c | 1 | ||||
-rw-r--r-- | usr.sbin/rpc.pcnfsd/pcnfsd_print.c | 1 | ||||
-rw-r--r-- | usr.sbin/rtsold/rtsold.c | 3 | ||||
-rw-r--r-- | usr.sbin/ssio/use_adf.c | 3 |
10 files changed, 8 insertions, 18 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index 91a97a9f00a..da569e91ee0 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.59 1999/12/10 16:19:29 deraadt Exp $ */ +/* $OpenBSD: inetd.c,v 1.60 2000/02/01 03:23:58 deraadt Exp $ */ /* $NetBSD: inetd.c,v 1.11 1996/02/22 11:14:41 mycroft Exp $ */ /* * Copyright (c) 1983,1991 The Regents of the University of California. @@ -41,7 +41,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)inetd.c 5.30 (Berkeley) 6/3/91";*/ -static char rcsid[] = "$OpenBSD: inetd.c,v 1.59 1999/12/10 16:19:29 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: inetd.c,v 1.60 2000/02/01 03:23:58 deraadt Exp $"; #endif /* not lint */ /* @@ -173,7 +173,6 @@ static char rcsid[] = "$OpenBSD: inetd.c,v 1.59 1999/12/10 16:19:29 deraadt Exp #define SIGBLOCK (sigmask(SIGCHLD)|sigmask(SIGHUP)|sigmask(SIGALRM)) -extern int errno; void config __P((int)); void reapchild __P((int)); diff --git a/usr.sbin/named/dnsquery/dnsquery.c b/usr.sbin/named/dnsquery/dnsquery.c index 7a61479940a..26ccf6bda5c 100644 --- a/usr.sbin/named/dnsquery/dnsquery.c +++ b/usr.sbin/named/dnsquery/dnsquery.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dnsquery.c,v 1.4 1999/12/04 00:22:34 deraadt Exp $ */ +/* $OpenBSD: dnsquery.c,v 1.5 2000/02/01 03:24:02 deraadt Exp $ */ #include <stdio.h> #include <sys/types.h> @@ -11,7 +11,6 @@ #include "../conf/portability.h" -extern int errno; extern int h_errno; extern char *h_errlist[]; diff --git a/usr.sbin/named/host/send.c b/usr.sbin/named/host/send.c index e365e914a25..a401a6ddec6 100644 --- a/usr.sbin/named/host/send.c +++ b/usr.sbin/named/host/send.c @@ -1,4 +1,4 @@ -/* $OpenBSD: send.c,v 1.2 1997/03/12 10:41:57 downsj Exp $ */ +/* $OpenBSD: send.c,v 1.3 2000/02/01 03:24:03 deraadt Exp $ */ /* * Copyright (c) 1985, 1989 Regents of the University of California. @@ -51,7 +51,6 @@ static char Version[] = "@(#)send.c e07@nikhef.nl (Eric Wassenaar) 961013"; #define bitset(a,b) (((a) & (b)) != 0) #define setalarm(n) (void) alarm((unsigned int)(n)) -extern int errno; extern res_state_t _res; /* defined in res_init.c */ char *dbprefix = DBPREFIX; /* prefix for debug messages to stdout */ diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index 657358cea72..b4235555418 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ndp.c,v 1.2 1999/12/10 07:26:56 itojun Exp $ */ +/* $OpenBSD: ndp.c,v 1.3 2000/02/01 03:24:05 deraadt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. @@ -124,7 +124,6 @@ ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long)) #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) -extern int errno; static int pid; static int fflag; static int nflag; diff --git a/usr.sbin/rarpd/arptab.c b/usr.sbin/rarpd/arptab.c index 50a2850f679..29d7107ad8f 100644 --- a/usr.sbin/rarpd/arptab.c +++ b/usr.sbin/rarpd/arptab.c @@ -74,7 +74,6 @@ static char sccsid[] = "@(#)arp.c 8.2 (Berkeley) 1/2/94"; #include <syslog.h> #include <string.h> -extern int errno; static int pid; static int s = -1; diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c index 07a5504d04c..ba0f8eff4b0 100644 --- a/usr.sbin/repquota/repquota.c +++ b/usr.sbin/repquota/repquota.c @@ -42,7 +42,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)repquota.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$Id: repquota.c,v 1.9 1997/01/17 07:14:24 millert Exp $"; +static char *rcsid = "$Id: repquota.c,v 1.10 2000/02/01 03:24:08 deraadt Exp $"; #endif /* not lint */ /* @@ -189,7 +189,6 @@ repquota(fs, type, qfpathname) static struct dqblk zerodqblk; static int warned = 0; static int multiple = 0; - extern int errno; if (quotactl(fs->fs_file, QCMD(Q_SYNC, type), 0, 0) < 0 && errno == EOPNOTSUPP && !warned && vflag) { diff --git a/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c b/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c index 12f5b9d4862..b5a1fe7b95c 100644 --- a/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c +++ b/usr.sbin/rpc.pcnfsd/pcnfsd_cache.c @@ -33,7 +33,6 @@ extern char *crypt(); **--------------------------------------------------------------------- */ -extern int errno; #ifdef USER_CACHE #define CACHE_SIZE 16 /* keep it small, as linear searches are diff --git a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c index 7f5b912e758..220bf46c362 100644 --- a/usr.sbin/rpc.pcnfsd/pcnfsd_print.c +++ b/usr.sbin/rpc.pcnfsd/pcnfsd_print.c @@ -88,7 +88,6 @@ pr_list list_virtual_printers(); **--------------------------------------------------------------------- */ -extern int errno; extern int interrupted; /* in pcnfsd_misc.c */ struct stat statbuf; char pathname[MAXPATHLEN]; diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c index 305d1ef6c08..19ef4f52e28 100644 --- a/usr.sbin/rtsold/rtsold.c +++ b/usr.sbin/rtsold/rtsold.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsold.c,v 1.5 2000/01/17 16:33:49 itojun Exp $ */ +/* $OpenBSD: rtsold.c,v 1.6 2000/02/01 03:24:11 deraadt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -211,7 +211,6 @@ main(argc, argv) FD_ZERO(&fdset); FD_SET(s, &fdset); while (1) { /* main loop */ - extern int errno; int e; struct fd_set select_fd = fdset; diff --git a/usr.sbin/ssio/use_adf.c b/usr.sbin/ssio/use_adf.c index ed070acba4a..ac3fc99b08e 100644 --- a/usr.sbin/ssio/use_adf.c +++ b/usr.sbin/ssio/use_adf.c @@ -1,4 +1,4 @@ -static char *rcs_id = "$Id: use_adf.c,v 1.4 1999/12/05 06:25:41 deraadt Exp $"; +static char *rcs_id = "$Id: use_adf.c,v 1.5 2000/02/01 03:24:14 deraadt Exp $"; /* * Copyright (c) 1995 Kenneth Stailey * All rights reserved. @@ -64,7 +64,6 @@ main(int argc, char *argv[]) extern int optind; extern char *optarg; - extern int errno; while ((c = getopt(argc, argv, "l:")) != -1) { switch (c) { |