summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-04-15 12:52:48 -0400
committerSteve Dickson <steved@redhat.com>2009-04-15 12:52:48 -0400
commitd4008af910ba1d527f00f8207fb3f8f5709e943d (patch)
tree6c3fbfb70cc2e411aa9d323cfc404abdd4f446c8 /support
parentc51d826a201095fb3a7c68c3666e2b795a2b687d (diff)
downloadnfs-utils-d4008af910ba1d527f00f8207fb3f8f5709e943d.tar.gz
nfs-utils-d4008af910ba1d527f00f8207fb3f8f5709e943d.tar.xz
nfs-utils-d4008af910ba1d527f00f8207fb3f8f5709e943d.zip
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 <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r--support/nfs/getport.c4
1 files 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