]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
getport.c: fix non-standard C
authorChuck Lever <chuck.lever@oracle.com>
Wed, 15 Apr 2009 16:52:48 +0000 (12:52 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 15 Apr 2009 16:52:48 +0000 (12:52 -0400)
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>
support/nfs/getport.c

index 734d21ad08b09590938048b898b2203f37040e4f..cf1677e78650869a284c8ca550f02ff83845f2bf 100644 (file)
@@ -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