aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcommon/gsm_data_shared.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-11-29 14:26:34 +0100
committerMax <msuraev@sysmocom.de>2017-11-29 14:26:15 +0000
commitc8d55f2c0b258efd12009e2c2c7fb06dcb9953ed (patch)
treee8188d5c9ad15fce124e03f2232bd82d0bc1396e /src/libcommon/gsm_data_shared.c
parentc87dc3ee1e1e57bd64010f68945987d6d2bd0b57 (diff)
cosmetic: mark gsm_objclass2mo as static
It's only used once in the same file so there's no need to put it into global header. Change-Id: Id9674cad54bab6cc04475719678efc2c25d058a9
Diffstat (limited to 'src/libcommon/gsm_data_shared.c')
-rw-r--r--src/libcommon/gsm_data_shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcommon/gsm_data_shared.c b/src/libcommon/gsm_data_shared.c
index b001562cd..8480892b5 100644
--- a/src/libcommon/gsm_data_shared.c
+++ b/src/libcommon/gsm_data_shared.c
@@ -485,7 +485,7 @@ char *gsm_lchan_name_compute(const struct gsm_lchan *lchan)
}
/* obtain the MO structure for a given object instance */
-struct gsm_abis_mo *
+static inline struct gsm_abis_mo *
gsm_objclass2mo(struct gsm_bts *bts, uint8_t obj_class,
const struct abis_om_obj_inst *obj_inst)
{