diff mbox

[8/8] fedfsd: Use static functions in svc.c

Message ID 20111221225230.23950.98777.stgit@degas.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever Dec. 21, 2011, 10:52 p.m. UTC
Clean up: make some internal-use-only functions static.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

 src/fedfsd/svc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/src/fedfsd/svc.c b/src/fedfsd/svc.c
index 7ce6b46..316042f 100644
--- a/src/fedfsd/svc.c
+++ b/src/fedfsd/svc.c
@@ -107,7 +107,7 @@  out_unknown:
   	"name" was too long, or port number was not valid
    @endverbatim
  */
-FedFsStatus
+static FedFsStatus
 fedfsd_nsdbname(const FedFsNsdbName name, char **hostname,
 		unsigned short *port)
 {
@@ -159,7 +159,7 @@  fedfsd_nsdbname(const FedFsNsdbName name, char **hostname,
   	memory was not available
    @endverbatim
  */
-FedFsStatus
+static FedFsStatus
 fedfsd_nsdb_to_nsdbname(const nsdb_t host, FedFsNsdbName *name)
 {
 	name->hostname.utf8string_val = strdup(nsdb_hostname(host));
@@ -315,7 +315,7 @@  out_err:
  *  alter the "pathname" argument.  Most particularly, we MUST ensure
  *  that no component of "pathname" is a junction.
  */
-FedFsStatus
+static FedFsStatus
 fedfsd_pathwalk(const FedFsPathName fpath, char **pathname)
 {
 	FedFsStatus retval;