aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-05 14:21:25 +0100
committerHarald Welte <laforge@gnumonks.org>2018-01-12 14:15:03 +0000
commit309d0e5483cac2624935e7889bf6f07bb1cc371e (patch)
treeb7eb5a3502d4d27f971811aaabe8e1fab0edec18 /include
parentc90f40a27737edaba3515ccf29faa3edb81bb0ee (diff)
Deprecate gsm48_construct_ra()
It's just a tiny wrapper around gsm48_encode_ra() with less strict type signature. Related OS#1640 Change-Id: I79d6d1133afbf32e891a6b0e3a244c6885ea9614
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gsm/gsm48.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/gsm/gsm48.h b/include/osmocom/gsm/gsm48.h
index 3ebca189..69431de2 100644
--- a/include/osmocom/gsm/gsm48.h
+++ b/include/osmocom/gsm/gsm48.h
@@ -40,7 +40,7 @@ const char *gsm48_mi_type_name(uint8_t mi);
/* Parse Routeing Area Identifier */
void gsm48_parse_ra(struct gprs_ra_id *raid, const uint8_t *buf);
void gsm48_encode_ra(struct gsm48_ra_id *out, const struct gprs_ra_id *raid);
-int gsm48_construct_ra(uint8_t *buf, const struct gprs_ra_id *raid);
+int gsm48_construct_ra(uint8_t *buf, const struct gprs_ra_id *raid) OSMO_DEPRECATED("Use gsm48_encode_ra() instead");
int gsm48_number_of_paging_subchannels(struct gsm48_control_channel_descr *chan_desc);