]> git.karo-electronics.de Git - linux-beck.git/commit
net: Mark functions as static in net/sunrpc/svc_xprt.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sat, 8 Feb 2014 20:10:54 +0000 (01:40 +0530)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 27 Mar 2014 20:31:57 +0000 (16:31 -0400)
commit45481201009e33a5e61c78fbe14ccc02b066742b
treecea10a00f7949f401f59f5367809642587f9afaf
parentc42a01eee74dfd9ba8f8abb7cb81dd9a8839dc7b
net: Mark functions as static in net/sunrpc/svc_xprt.c

Mark functions as static in net/sunrpc/svc_xprt.c because they are not
used outside this file.

This eliminates the following warning in net/sunrpc/svc_xprt.c:
net/sunrpc/svc_xprt.c:574:5: warning: no previous prototype for ‘svc_alloc_arg’ [-Wmissing-prototypes]
net/sunrpc/svc_xprt.c:615:18: warning: no previous prototype for ‘svc_get_next_xprt’ [-Wmissing-prototypes]
net/sunrpc/svc_xprt.c:694:6: warning: no previous prototype for ‘svc_add_new_temp_xprt’ [-Wmissing-prototypes]

Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c