[PATCH 1/2] gsm0411_smr: Make the look-up table static

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/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Fri May 23 06:54:57 UTC 2014


From: Holger Hans Peter Freyther <holger at moiji-mobile.com>

---
 src/gsm/gsm0411_smr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gsm/gsm0411_smr.c b/src/gsm/gsm0411_smr.c
index b243c86..a7e9d24 100644
--- a/src/gsm/gsm0411_smr.c
+++ b/src/gsm/gsm0411_smr.c
@@ -94,7 +94,7 @@ void gsm411_smr_clear(struct gsm411_smr_inst *inst)
 	osmo_timer_del(&inst->rp_timer);
 }
 
-const char *smr_state_names[] = {
+static const char *smr_state_names[] = {
 	"IDLE",
 	"WAIT_FOR_RP_ACK",
 	"illegal state 2"
-- 
1.9.1





More information about the OpenBSC mailing list