[NLM] fs/lockd/clntproc.c: make 2 functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Trond Myklebust --- fs/lockd/clntproc.c | 4 ++-- include/linux/lockd/lockd.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) Index: linux-2.6.11-rc4/include/linux/lockd/lockd.h =================================================================== --- linux-2.6.11-rc4.orig/include/linux/lockd/lockd.h +++ linux-2.6.11-rc4/include/linux/lockd/lockd.h @@ -142,8 +142,6 @@ extern unsigned long nlmsvc_timeout; * Lockd client functions */ struct nlm_rqst * nlmclnt_alloc_call(void); -int nlmclnt_call(struct nlm_rqst *, u32); -int nlmclnt_async_call(struct nlm_rqst *, u32, rpc_action); int nlmclnt_block(struct nlm_host *, struct file_lock *, u32 *); int nlmclnt_cancel(struct nlm_host *, struct file_lock *); u32 nlmclnt_grant(struct nlm_lock *); Index: linux-2.6.11-rc4/fs/lockd/clntproc.c =================================================================== --- linux-2.6.11-rc4.orig/fs/lockd/clntproc.c +++ linux-2.6.11-rc4/fs/lockd/clntproc.c @@ -322,7 +322,7 @@ static int nlm_wait_on_grace(wait_queue_ /* * Generic NLM call */ -int +static int nlmclnt_call(struct nlm_rqst *req, u32 proc) { struct nlm_host *host = req->a_host; @@ -424,7 +424,7 @@ nlmsvc_async_call(struct nlm_rqst *req, return status; } -int +static int nlmclnt_async_call(struct nlm_rqst *req, u32 proc, rpc_action callback) { struct nlm_host *host = req->a_host;