Make global variables static
Remove WARNS from Makefile
This commit is contained in:
parent
b5d848796b
commit
ff2f1f842b
@ -4,8 +4,6 @@
|
||||
PROG= rsh
|
||||
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user