mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
getopt interface is defined in <unistd.h> so use that in preference to externs.
This commit is contained in:
parent
4323578d73
commit
f4d022175f
1 changed files with 1 additions and 4 deletions
|
|
@ -48,6 +48,7 @@ static char *id =
|
|||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <machine/pcvt_ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <paths.h>
|
||||
|
||||
#define DEFAULTFD 0
|
||||
|
|
@ -56,10 +57,6 @@ main(argc,argv)
|
|||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
extern int optind;
|
||||
extern int opterr;
|
||||
extern char *optarg;
|
||||
|
||||
struct cursorshape cursorshape;
|
||||
int fd;
|
||||
int c;
|
||||
|
|
|
|||
Loading…
Reference in a new issue