From: Chuck Lever Date: Wed, 15 Apr 2009 16:52:48 +0000 (-0400) Subject: getport.c: fix non-standard C X-Git-Tag: nfs-utils-1-1-6-rc7~4 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d4008af910ba1d527f00f8207fb3f8f5709e943d;p=nfs-utils.git getport.c: fix non-standard C 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 --- 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