diff --git a/src/common/read_config.c b/src/common/read_config.c index 4e0de4497048a8762b1f069e1dc313c5c320c85a..943c032b7f29155a437bbffa7d05973eadbed8c1 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 789e4725fcd22fe2198517524698c41819af9ed2..a234743d9d1f64564e4a3615b4e891d86af9d6f3 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 */