From 1c72bfb2cb00e8e677700643bdefadbb9509b496 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 4 Apr 2012 22:05:24 +0200 Subject: libosmogsm: Introduce explicit list of exported symbols There is now a "libosmogsm.map" file containing an explicit list of to-be-exported symbols. This should prevent us from leaking non-static symbols into the global namespace. A similar scheme should be adopted by all other osmocom libraries --- src/gsm/auth_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gsm/auth_core.c') diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c index f790ff5b..5e886eef 100644 --- a/src/gsm/auth_core.c +++ b/src/gsm/auth_core.c @@ -100,7 +100,7 @@ int osmo_auth_gen_vec_auts(struct osmo_auth_vector *vec, return impl->gen_vec_auts(vec, aud, rand_auts, auts, _rand); } -const struct value_string auth_alg_vals[] = { +static const struct value_string auth_alg_vals[] = { { OSMO_AUTH_ALG_NONE, "None" }, { OSMO_AUTH_ALG_COMP128v1, "COMP128v1" }, { OSMO_AUTH_ALG_COMP128v2, "COMP128v2" }, -- cgit v1.2.3