diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-06-12 19:03:13 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:20:32 -0400 |
commit | 7f4adeff6fa32ff46f148110c4f08130175c8da8 (patch) | |
tree | dd2abe4997d7a8ecbd7d73518f2b31d8d5906110 /net | |
parent | 67f97d83bfcca9d9f8fbeeb14e7c644a82b24e12 (diff) |
[2.6 patch] net/sunrpc/rpcb_clnt.c: make struct rpcb_program static
This patch makes the needlessly global struct rpcb_program static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 8db3d70c23e3..a05493aedb68 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -103,7 +103,7 @@ enum { | |||
103 | #define RPCB_MAXOWNERLEN sizeof(RPCB_OWNER_STRING) | 103 | #define RPCB_MAXOWNERLEN sizeof(RPCB_OWNER_STRING) |
104 | 104 | ||
105 | static void rpcb_getport_done(struct rpc_task *, void *); | 105 | static void rpcb_getport_done(struct rpc_task *, void *); |
106 | extern struct rpc_program rpcb_program; | 106 | static struct rpc_program rpcb_program; |
107 | 107 | ||
108 | struct rpcbind_args { | 108 | struct rpcbind_args { |
109 | struct rpc_xprt * r_xprt; | 109 | struct rpc_xprt * r_xprt; |
@@ -666,7 +666,7 @@ static struct rpc_version *rpcb_version[] = { | |||
666 | 666 | ||
667 | static struct rpc_stat rpcb_stats; | 667 | static struct rpc_stat rpcb_stats; |
668 | 668 | ||
669 | struct rpc_program rpcb_program = { | 669 | static struct rpc_program rpcb_program = { |
670 | .name = "rpcbind", | 670 | .name = "rpcbind", |
671 | .number = RPCBIND_PROGRAM, | 671 | .number = RPCBIND_PROGRAM, |
672 | .nrvers = ARRAY_SIZE(rpcb_version), | 672 | .nrvers = ARRAY_SIZE(rpcb_version), |