summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/IPXrouted/startup.c2
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_main.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/IPXrouted/startup.c b/usr.sbin/IPXrouted/startup.c
index db443ab..1740a88 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 <net/if.h>
#include <net/if_dl.h>
+#include <errno.h>
#include <nlist.h>
#include <stdlib.h>
@@ -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 904e841..2cf4f70 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;
OpenPOWER on IntegriCloud