Date: Wed, 8 Jun 2016 17:13:57 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r301649 - stable/9/usr.sbin/rpcbind Message-ID: <201606081713.u58HDvt7023790@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Jun 8 17:13:57 2016 New Revision: 301649 URL: https://svnweb.freebsd.org/changeset/base/301649 Log: MFstable/10 r301648: MFC r300947: Staticize variables only used in rpcbind.c This is some low hanging fruit necessary for making this WARNS?= 6 clean Modified: stable/9/usr.sbin/rpcbind/rpcbind.c Directory Properties: stable/9/ (props changed) stable/9/usr.sbin/ (props changed) Modified: stable/9/usr.sbin/rpcbind/rpcbind.c ============================================================================== --- stable/9/usr.sbin/rpcbind/rpcbind.c Wed Jun 8 17:13:28 2016 (r301648) +++ stable/9/usr.sbin/rpcbind/rpcbind.c Wed Jun 8 17:13:57 2016 (r301649) @@ -86,17 +86,17 @@ rpcblist_ptr list_rbl; /* A list of vers #define RPCBINDDLOCK "/var/run/rpcbind.lock" -int runasdaemon = 0; +static int runasdaemon = 0; int insecure = 0; int oldstyle_local = 0; int verboselog = 0; -char **hosts = NULL; -struct sockaddr **bound_sa; -int ipv6_only = 0; -int nhosts = 0; -int on = 1; -int rpcbindlockfd; +static char **hosts = NULL; +static struct sockaddr **bound_sa; +static int ipv6_only = 0; +static int nhosts = 0; +static int on = 1; +static int rpcbindlockfd; #ifdef WARMSTART /* Local Variable */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606081713.u58HDvt7023790>