diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-02-01 03:24:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-02-01 03:24:15 +0000 |
commit | 376a7976c0a22002c6750673c39178e703bed58b (patch) | |
tree | 3b4a8322b9b5e1e7e175d003e4ecf149fba0ce24 /libexec | |
parent | 28d59da957500734c9a5139d0d9bd7eea82eb36d (diff) |
no need to extern int errno if errno.h is included
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/tftpd/tftpd.c | 5 | ||||
-rw-r--r-- | libexec/uucpd/uucpd.c | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c index fc6df193cd0..4e5916bff28 100644 --- a/libexec/tftpd/tftpd.c +++ b/libexec/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.13 1999/06/23 17:01:36 deraadt Exp $ */ +/* $OpenBSD: tftpd.c,v 1.14 2000/02/01 03:23:22 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -41,7 +41,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.13 1999/06/23 17:01:36 deraadt Exp $: tftpd.c,v 1.6 1997/02/16 23:49:21 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: tftpd.c,v 1.14 2000/02/01 03:23:22 deraadt Exp $: tftpd.c,v 1.6 1997/02/16 23:49:21 deraadt Exp $"; #endif /* not lint */ /* @@ -72,7 +72,6 @@ static char rcsid[] = "$OpenBSD: tftpd.c,v 1.13 1999/06/23 17:01:36 deraadt Exp #define TIMEOUT 5 -extern int errno; extern char *__progname; struct sockaddr_in s_in = { AF_INET }; int peer; diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c index 20da023a83f..b4f7607b8ac 100644 --- a/libexec/uucpd/uucpd.c +++ b/libexec/uucpd/uucpd.c @@ -42,7 +42,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)uucpd.c 5.10 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: uucpd.c,v 1.14 1998/07/05 18:48:58 deraadt Exp $"; +static char rcsid[] = "$Id: uucpd.c,v 1.15 2000/02/01 03:23:23 deraadt Exp $"; #endif /* not lint */ /* @@ -95,7 +95,6 @@ char **argv; register int s, tcp_socket; struct servent *sp; #endif /* !BSDINETD */ - extern int errno; environ = nenv; #ifdef BSDINETD |