Use #include <errno.h> rather than extern int errno;.
This commit is contained in:
parent
e6affa6696
commit
fba0ed115e
@ -54,7 +54,7 @@ static const char rcsid[] =
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "shell.h"
|
||||
#include "main.h"
|
||||
@ -81,7 +81,6 @@ static const char rcsid[] =
|
||||
|
||||
int rootpid;
|
||||
int rootshell;
|
||||
extern int errno;
|
||||
#if PROFILE
|
||||
short profile_buf[16384];
|
||||
extern int etext();
|
||||
|
Loading…
Reference in New Issue
Block a user