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
diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c
index f790ff5..5e886ee 100644
--- a/src/gsm/auth_core.c
+++ b/src/gsm/auth_core.c
@@ -100,7 +100,7 @@
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" },