]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nfs/getport.c
getport.c: fix non-standard C
[nfs-utils.git] / 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