mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
remove extern int errno; include errno.h
This commit is contained in:
parent
0e7f0658ee
commit
a39ebf9911
2 changed files with 1 additions and 2 deletions
|
|
@ -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: ");
|
||||
|
|
|
|||
|
|
@ -164,7 +164,6 @@ main(argc, argv)
|
|||
int ch;
|
||||
char *mastername;
|
||||
char myname[MAXHOSTNAMELEN + 2];
|
||||
extern int errno;
|
||||
extern int debug;
|
||||
|
||||
debug = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue