From a39ebf99117952a091ed01d59cdc1083cd302094 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 14 Apr 2000 06:49:16 +0000 Subject: [PATCH] remove extern int errno; include errno.h --- usr.sbin/IPXrouted/startup.c | 2 +- usr.sbin/rpc.yppasswdd/yppasswdd_main.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/IPXrouted/startup.c b/usr.sbin/IPXrouted/startup.c index db443abb338b..1740a8861f21 100644 --- a/usr.sbin/IPXrouted/startup.c +++ b/usr.sbin/IPXrouted/startup.c @@ -55,6 +55,7 @@ static char sccsid[] = "@(#)startup.c 8.1 (Berkeley) 6/5/93"; #include #include +#include #include #include @@ -68,7 +69,6 @@ void quit(s) char *s; { - extern int errno; int sverrno = errno; (void) fprintf(stderr, "IPXroute: "); diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c index 904e841d64e3..2cf4f705ec25 100644 --- a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c +++ b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c @@ -164,7 +164,6 @@ main(argc, argv) int ch; char *mastername; char myname[MAXHOSTNAMELEN + 2]; - extern int errno; extern int debug; debug = 1;