[fedfs-utils] [PATCH 8/8] fedfsd: Use static functions in svc.c

Chuck Lever chuck.lever at oracle.com
Wed Dec 21 14:52:31 PST 2011


Clean up: make some internal-use-only functions static.

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

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

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;




More information about the fedfs-utils-devel mailing list