[MERGED] 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:49:20 UTC 2016


Harald Welte has submitted this change and it was merged.

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


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(-)

Approvals:
  Harald Welte: Looks good to me, approved; Verified



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: merged
Gerrit-Change-Id: I6f3f04b683d906674ee7da9bab5762bb00cea916
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list