mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 08:37:50 -04:00
Remove extern int errno and #include <errno.h> to get the proper definition.
This commit is contained in:
parent
e095485cdb
commit
e659da100d
1 changed files with 1 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ static char sccsid[] = "@(#)nice.c 8.1 (Berkeley) 6/4/93";
|
|||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/*
|
||||
|
|
@ -48,7 +49,6 @@ nice(incr)
|
|||
int incr;
|
||||
{
|
||||
int prio;
|
||||
extern int errno;
|
||||
|
||||
errno = 0;
|
||||
prio = getpriority(PRIO_PROCESS, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue