Skip to contentSkip to conversation

fs/lockd/host.c: make 2 functions static

RFC PATCH New Adrian Bunk 1 participant 1 message Nov 20, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 fs/lockd/host.c: make 2 functions static

This patch makes the following needlessly global functions static:
- nlm_lookup_host()
- nsm_find()

---

 fs/lockd/host.c             |   53 +++++++++++++++++++-----------------
 include/linux/lockd/lockd.h |    2 -
 2 files changed, 28 insertions(+), 27 deletions(-)
include/linux/lockd/lockd.h renamed from include/linux/lockd/lockd.h.old +0 -2
@@ -164,14 +164,12 @@
  */
 struct nlm_host * nlmclnt_lookup_host(const struct sockaddr_in *, int, int, const char *, int);
 struct nlm_host * nlmsvc_lookup_host(struct svc_rqst *, const char *, int);
-struct nlm_host * nlm_lookup_host(int server, const struct sockaddr_in *, int, int, const char *, int);
 struct rpc_clnt * nlm_bind_host(struct nlm_host *);
 void		  nlm_rebind_host(struct nlm_host *);
 struct nlm_host * nlm_get_host(struct nlm_host *);
 void		  nlm_release_host(struct nlm_host *);
 void		  nlm_shutdown_hosts(void);
 extern void	  nlm_host_rebooted(const struct sockaddr_in *, const char *, int, u32);
-struct nsm_handle *nsm_find(const struct sockaddr_in *, const char *, int);
 void		  nsm_release(struct nsm_handle *);
 
 
fs/lockd/host.c renamed from fs/lockd/host.c.old +28 -25

75 lines not on this page · raw message

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs