Re: [PATCH] getport.c: fix non-standard C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Chuck Lever wrote:
> 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@xxxxxxxxxx>
> ---
> 
>  support/nfs/getport.c |    4 ++--
>  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
> 
Committed....

steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux