Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2013 20:57:27 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259843 - head/sys/rpc
Message-ID:  <201312242057.rBOKvRXI068902@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Dec 24 20:57:26 2013
New Revision: 259843
URL: http://svnweb.freebsd.org/changeset/base/259843

Log:
  Move a static const variable to the #if 0 part where it is only used.
  (Note the #if 0 part has been inactive since the initial commit,
  r177633, so maybe it should be removed altogether).
  
  MFC after:	3 days

Modified:
  head/sys/rpc/rpcb_clnt.c

Modified: head/sys/rpc/rpcb_clnt.c
==============================================================================
--- head/sys/rpc/rpcb_clnt.c	Tue Dec 24 20:55:22 2013	(r259842)
+++ head/sys/rpc/rpcb_clnt.c	Tue Dec 24 20:57:26 2013	(r259843)
@@ -64,13 +64,13 @@ __FBSDID("$FreeBSD$");
 #include <rpc/rpc_com.h>
 
 static struct timeval tottimeout = { 60, 0 };
-static const struct timeval rmttimeout = { 3, 0 };
 static const char nullstring[] = "\000";
 
 static CLIENT *local_rpcb(void);
 
 #if 0
 
+static const struct timeval rmttimeout = { 3, 0 };
 static struct timeval rpcbrmttime = { 15, 0 };
 
 #define	CACHESIZE 6



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312242057.rBOKvRXI068902>