diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-23 10:17:16 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:34 -0400 |
commit | 64c91a1f1c8bc4295fd6b90df8adf911a7dd64f4 (patch) | |
tree | 62b8166a9638b6d349779fa2f77f3d7bd18e1aea /net/sunrpc | |
parent | fc1b356f566fe05929ec2a88ce2c7b15f8b6279f (diff) | |
download | linux-stable-64c91a1f1c8bc4295fd6b90df8adf911a7dd64f4.tar.gz linux-stable-64c91a1f1c8bc4295fd6b90df8adf911a7dd64f4.tar.bz2 linux-stable-64c91a1f1c8bc4295fd6b90df8adf911a7dd64f4.zip |
SUNRPC: Make rpc_ping() static
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/clnt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 76eef19cf995..4e91f3110938 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -72,6 +72,8 @@ static void call_connect_status(struct rpc_task *task); static __be32 * call_header(struct rpc_task *task); static __be32 * call_verify(struct rpc_task *task); +static int rpc_ping(struct rpc_clnt *clnt, int flags); + static void rpc_register_client(struct rpc_clnt *clnt) { spin_lock(&rpc_client_lock); @@ -1441,7 +1443,7 @@ static struct rpc_procinfo rpcproc_null = { .p_decode = rpcproc_decode_null, }; -int rpc_ping(struct rpc_clnt *clnt, int flags) +static int rpc_ping(struct rpc_clnt *clnt, int flags) { struct rpc_message msg = { .rpc_proc = &rpcproc_null, |