svn commit: r259843 - head/sys/rpc

Dimitry Andric dim at FreeBSD.org
Tue Dec 24 20:57:27 UTC 2013


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


More information about the svn-src-all mailing list