From 7fa8fd9bf13d9bc249ca898377b66394dd9e4b12 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Thu, 28 Oct 2004 21:55:57 +0000
Subject: [PATCH] Change extern function to static for greater clarity.

---
 src/common/read_config.c | 4 ++--
 src/common/read_config.h | 7 -------
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/common/read_config.c b/src/common/read_config.c
index 4e0de449704..943c032b7f2 100644
--- a/src/common/read_config.c
+++ b/src/common/read_config.c
@@ -154,7 +154,7 @@ static void _push_to_hashtbl(char *node, char *host)
  * If node_hostname is NULL, only node_name will be used and 
  * no lookup table record is created.
  */
-extern void register_conf_node_aliases(char *node_name, char *node_hostname)
+static void _register_conf_node_aliases(char *node_name, char *node_hostname)
 {
 	hostlist_t node_list = NULL, host_list = NULL;
 	char *hn = NULL, *nn;
@@ -841,7 +841,7 @@ _parse_node_spec (char *in_line)
 		return error_code;
 
 	if (node_name) {
-		register_conf_node_aliases(node_name, node_hostname);
+		_register_conf_node_aliases(node_name, node_hostname);
 	}
 
 	xfree(feature);
diff --git a/src/common/read_config.h b/src/common/read_config.h
index 789e4725fcd..a234743d9d1 100644
--- a/src/common/read_config.h
+++ b/src/common/read_config.h
@@ -83,13 +83,6 @@ extern void free_slurm_conf (slurm_ctl_conf_t *ctl_conf_ptr);
  */
 extern int getnodename (char *name, size_t len);
 
-/*
- * Register the given NodeName in the alias table.
- * If node_hostname is NULL, only node_name will be used and
- * no lookup table record is created.
- */
-extern void register_conf_node_aliases(char *node_name, char *node_hostname);
-
 /*
  * get_conf_node_hostname - Return the NodeHostname for given NodeName
  */
-- 
GitLab