From d4008af910ba1d527f00f8207fb3f8f5709e943d Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Wed, 15 Apr 2009 12:52:48 -0400 Subject: [PATCH] getport.c: fix non-standard C MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Squelch a compiler warning in getport.c: getport.c:65: warning: ¿static¿ is not at beginning of declaration Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- support/nfs/getport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/nfs/getport.c b/support/nfs/getport.c index 734d21a..cf1677e 100644 --- a/support/nfs/getport.c +++ b/support/nfs/getport.c @@ -60,9 +60,9 @@ #endif /* !HAVE_LIBTIRPC */ #ifdef HAVE_LIBTIRPC -const static rpcvers_t default_rpcb_version = RPCBVERS_4; +static const rpcvers_t default_rpcb_version = RPCBVERS_4; #else /* !HAVE_LIBTIRPC */ -const static rpcvers_t default_rpcb_version = PMAPVERS; +static const rpcvers_t default_rpcb_version = PMAPVERS; #endif /* !HAVE_LIBTIRPC */ #ifdef HAVE_DECL_AI_ADDRCONFIG -- 2.39.5