All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] getport.c: fix non-standard C
@ 2009-04-06 16:04 Chuck Lever
       [not found] ` <20090406160411.7179.41228.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck Lever @ 2009-04-06 16:04 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

Squelch a compiler warning in getport.c:

  getport.c:65: warning: =E2=80=98static=E2=80=99 is not at beginning o=
f declaration

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

 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 */
=20
 #ifdef HAVE_LIBTIRPC
-const static rpcvers_t default_rpcb_version =3D RPCBVERS_4;
+static const rpcvers_t default_rpcb_version =3D RPCBVERS_4;
 #else	/* !HAVE_LIBTIRPC */
-const static rpcvers_t default_rpcb_version =3D PMAPVERS;
+static const rpcvers_t default_rpcb_version =3D PMAPVERS;
 #endif	/* !HAVE_LIBTIRPC */
=20
 #ifdef HAVE_DECL_AI_ADDRCONFIG


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] getport.c: fix non-standard C
       [not found] ` <20090406160411.7179.41228.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
@ 2009-04-15 17:58   ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2009-04-15 17:58 UTC (permalink / raw)
  To: Chuck Lever; +Cc: linux-nfs



Chuck Lever wrote:
> Squelch a compiler warning in getport.c:
>=20
>   getport.c:65: warning: =E2=80=98static=E2=80=99 is not at beginning=
 of declaration
>=20
> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
> ---
>=20
>  support/nfs/getport.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>=20
> 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 */
> =20
>  #ifdef HAVE_LIBTIRPC
> -const static rpcvers_t default_rpcb_version =3D RPCBVERS_4;
> +static const rpcvers_t default_rpcb_version =3D RPCBVERS_4;
>  #else	/* !HAVE_LIBTIRPC */
> -const static rpcvers_t default_rpcb_version =3D PMAPVERS;
> +static const rpcvers_t default_rpcb_version =3D PMAPVERS;
>  #endif	/* !HAVE_LIBTIRPC */
> =20
>  #ifdef HAVE_DECL_AI_ADDRCONFIG
>=20
Committed....

steved.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-15 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06 16:04 [PATCH] getport.c: fix non-standard C Chuck Lever
     [not found] ` <20090406160411.7179.41228.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2009-04-15 17:58   ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.