Make global variables static

Remove WARNS from Makefile
This commit is contained in:
Baptiste Daroussin 2015-06-06 12:43:05 +00:00
parent b5d848796b
commit ff2f1f842b
2 changed files with 3 additions and 5 deletions

View File

@ -4,8 +4,6 @@
PROG= rsh
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
WARNS?= 2
BINOWN= root
BINMODE=4555

View File

@ -77,10 +77,10 @@ __FBSDID("$FreeBSD$");
/*
* rsh - remote shell
*/
int rfd2;
static int rfd2;
int family = PF_UNSPEC;
char rlogin[] = "rlogin";
static int family = PF_UNSPEC;
static char rlogin[] = "rlogin";
void connect_timeout(int);
char *copyargs(char * const *);