diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-14 17:21:26 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-05-14 19:33:47 -0400 |
commit | 7531d692d4174789d583eb50fcb83cefa121b790 (patch) | |
tree | c3ab10fdccf1863848946e6f3217514542217289 /include/linux/sunrpc/xprt.h | |
parent | d48c5f41000ad176df71d2d43932c6c50f938196 (diff) |
SUNRPC: Fix sparse warnings
- net/sunrpc/xprtsock.c:1635:5: warning: symbol 'init_socket_xprt' was not
declared. Should it be static?
- net/sunrpc/xprtsock.c:1649:6: warning: symbol 'cleanup_socket_xprt' was
not declared. Should it be static?
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/xprt.h')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index fa89ce6ce076..34f7590506fa 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -244,6 +244,8 @@ void xprt_disconnect(struct rpc_xprt *xprt); | |||
244 | */ | 244 | */ |
245 | struct rpc_xprt * xs_setup_udp(struct sockaddr *addr, size_t addrlen, struct rpc_timeout *to); | 245 | struct rpc_xprt * xs_setup_udp(struct sockaddr *addr, size_t addrlen, struct rpc_timeout *to); |
246 | struct rpc_xprt * xs_setup_tcp(struct sockaddr *addr, size_t addrlen, struct rpc_timeout *to); | 246 | struct rpc_xprt * xs_setup_tcp(struct sockaddr *addr, size_t addrlen, struct rpc_timeout *to); |
247 | int init_socket_xprt(void); | ||
248 | void cleanup_socket_xprt(void); | ||
247 | 249 | ||
248 | /* | 250 | /* |
249 | * Reserved bit positions in xprt->state | 251 | * Reserved bit positions in xprt->state |