summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2012-10-30 15:09:19 -0400
committerSteve Dickson <steved@redhat.com>2012-10-30 15:30:08 -0400
commit36e24581dfb9c9d74558578376de20ba76f43c8c (patch)
treeca807eb52176c373e2b84ef469da856ebc451b3f
parent93b62b6e62e3680cad1d400b1992f919f9914178 (diff)
downloadnfs-utils-36e24581dfb9c9d74558578376de20ba76f43c8c.zip
nfs-utils-36e24581dfb9c9d74558578376de20ba76f43c8c.tar.gz
nfs-utils-36e24581dfb9c9d74558578376de20ba76f43c8c.tar.xz
rpc.gssd: Squelch compiler warning
gssd_proc.c: At top level: gssd_proc.c:782:5: warning: no previous prototype for create_auth_rpc_client [-Wmissing-prototypes] Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/gssd/gssd_proc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index b9a898e..1bc3942 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -802,11 +802,12 @@ set_port:
* Create an RPC connection and establish an authenticated
* gss context with a server.
*/
-int create_auth_rpc_client(struct clnt_info *clp,
- CLIENT **clnt_return,
- AUTH **auth_return,
- uid_t uid,
- int authtype)
+static int
+create_auth_rpc_client(struct clnt_info *clp,
+ CLIENT **clnt_return,
+ AUTH **auth_return,
+ uid_t uid,
+ int authtype)
{
CLIENT *rpc_clnt = NULL;
struct rpc_gss_sec sec;