From 96f3dd4c5b6849449036a1e21080723dcefdf69b Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Fri, 1 Jul 2011 07:50:01 -0700 Subject: [PATCH] Export s_p_hashtbl_destroy as slurm_s_p_hashtbl_destroy Export the symbol s_p_hashtbl_destroy as slurm_s_p_hashtbl_destroy in libslurm so that external programs can link to libslurm and be able to reference select/cray without undefined symbols --- src/common/parse_config.c | 1 + src/common/slurm_xlator.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/common/parse_config.c b/src/common/parse_config.c index 8b1a9be2d30..f5174fb1603 100644 --- a/src/common/parse_config.c +++ b/src/common/parse_config.c @@ -66,6 +66,7 @@ strong_alias(s_p_get_string, slurm_s_p_get_string); strong_alias(s_p_get_uint32, slurm_s_p_get_uint32); strong_alias(s_p_hashtbl_create, slurm_s_p_hashtbl_create); +strong_alias(s_p_hashtbl_destroy, slurm_s_p_hashtbl_destroy); strong_alias(s_p_parse_file, slurm_s_p_parse_file); #define BUFFER_SIZE 4096 diff --git a/src/common/slurm_xlator.h b/src/common/slurm_xlator.h index b964cd6fad2..0866e86a546 100644 --- a/src/common/slurm_xlator.h +++ b/src/common/slurm_xlator.h @@ -354,6 +354,7 @@ #define s_p_get_string slurm_s_p_get_string #define s_p_get_uint32 slurm_s_p_get_uint32 #define s_p_hashtbl_create slurm_s_p_hashtbl_create +#define s_p_hashtbl_destroy slurm_s_p_hashtbl_destroy #define s_p_parse_file slurm_s_p_parse_file #endif /* USE_ALIAS */ -- GitLab