[PATCH] libosmocore[master]: gan: Mark gan_pdisc_vals[] as public / non-static symbol

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Nov 11 14:25:07 UTC 2016


Review at  https://gerrit.osmocom.org/1229

gan: Mark gan_pdisc_vals[] as public / non-static symbol

It is actually listed in libosmogsm.map, but still used to be a static
symbol.  That couldn't have worked.

Change-Id: I6f3f04b683d906674ee7da9bab5762bb00cea916
---
M src/gsm/gan.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/29/1229/1

diff --git a/src/gsm/gan.c b/src/gsm/gan.c
index c71c513..0bcaa17 100644
--- a/src/gsm/gan.c
+++ b/src/gsm/gan.c
@@ -68,7 +68,7 @@
 	{ 0, NULL }
 };
 
-static const struct value_string gan_pdisc_vals[] = {
+const struct value_string gan_pdisc_vals[] = {
 	{ GA_PDISC_RC,			"RC" },
 	{ GA_PDISC_CSR,			"CSR" },
 	{ GA_PDISC_PSR,			"PSR" },

-- 
To view, visit https://gerrit.osmocom.org/1229
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f3f04b683d906674ee7da9bab5762bb00cea916
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list