summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-07-07 12:15:04 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-07-07 13:58:16 +0200
commit9a6c0ea9202126aace2a98f10bf1117a3f41e500 (patch)
tree13e6a00865c6b91ca0f7fba71a1fced7abc50b62
parent362e8b0f0a2f4a62deddc6b1de7b987c54e29533 (diff)
a_iface: add missing static
-rw-r--r--openbsc/src/libmsc/a_iface.c2
-rw-r--r--openbsc/src/libmsc/a_iface_bssap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libmsc/a_iface.c b/openbsc/src/libmsc/a_iface.c
index 5ed7c5790..4b619f947 100644
--- a/openbsc/src/libmsc/a_iface.c
+++ b/openbsc/src/libmsc/a_iface.c
@@ -292,7 +292,7 @@ static uint8_t convert_Abis_prev_to_A_pref(int radio)
}
/* Assemble the channel type field */
-int enc_channel_type(struct gsm0808_channel_type *ct, const struct gsm_mncc_bearer_cap *bc)
+static int enc_channel_type(struct gsm0808_channel_type *ct, const struct gsm_mncc_bearer_cap *bc)
{
unsigned int i;
uint8_t sv;
diff --git a/openbsc/src/libmsc/a_iface_bssap.c b/openbsc/src/libmsc/a_iface_bssap.c
index d01210ed1..c756e9b9c 100644
--- a/openbsc/src/libmsc/a_iface_bssap.c
+++ b/openbsc/src/libmsc/a_iface_bssap.c
@@ -71,7 +71,7 @@ static struct gsm_subscriber_connection *subscr_conn_allocate_a(struct a_conn_in
/* Return an existing A subscriber connection record for the given
* connection IDs, or return NULL if not found. */
-struct gsm_subscriber_connection *subscr_conn_lookup_a(const struct gsm_network *network, int conn_id)
+static struct gsm_subscriber_connection *subscr_conn_lookup_a(const struct gsm_network *network, int conn_id)
{
struct gsm_subscriber_connection *conn;