Date: Sat, 6 Jun 2015 12:43:05 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284065 - head/usr.bin/rsh Message-ID: <201506061243.t56Ch5Fr020678@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jun 6 12:43:05 2015 New Revision: 284065 URL: https://svnweb.freebsd.org/changeset/base/284065 Log: Make global variables static Remove WARNS from Makefile Modified: head/usr.bin/rsh/Makefile head/usr.bin/rsh/rsh.c Modified: head/usr.bin/rsh/Makefile ============================================================================== --- head/usr.bin/rsh/Makefile Sat Jun 6 12:41:25 2015 (r284064) +++ head/usr.bin/rsh/Makefile Sat Jun 6 12:43:05 2015 (r284065) @@ -4,8 +4,6 @@ PROG= rsh CFLAGS+=-I${.CURDIR}/../../libexec/rlogind -WARNS?= 2 - BINOWN= root BINMODE=4555 Modified: head/usr.bin/rsh/rsh.c ============================================================================== --- head/usr.bin/rsh/rsh.c Sat Jun 6 12:41:25 2015 (r284064) +++ head/usr.bin/rsh/rsh.c Sat Jun 6 12:43:05 2015 (r284065) @@ -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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506061243.t56Ch5Fr020678>