diff options
author | Arran Cudbard-Bell <a.cudbardb@freeradius.org> | 2016-11-02 11:48:24 -0400 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-11-03 12:24:01 +0000 |
commit | 67b81eb6fe6c29e5f22bb94c83c028bde5f8e47b (patch) | |
tree | 13d5b784d99226099b9d4f1927dc89b9eae7bd36 | |
parent | 0c7d5f4a61cc7897a6a8092cd3e0872a39cc98f1 (diff) |
e1_input.h: add missing extern for value string arrays
Mark two value string arrays as extern, so symbols aren't created for
each source file that includes the headers.
Tweaked-by: nhofmeyr (commit log)
Signed-off-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Change-Id: Iebf4b3922a48ca2cc20d478aba06224dd89d38cb
-rw-r--r-- | include/osmocom/abis/e1_input.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h index c99b133..4c7f8a0 100644 --- a/include/osmocom/abis/e1_input.h +++ b/include/osmocom/abis/e1_input.h @@ -21,7 +21,7 @@ enum e1inp_sign_type { E1INP_SIGN_OSMO, /* IPA CCM OSMO sub-type */ }; const char *e1inp_signtype_name(enum e1inp_sign_type tp); -const struct value_string e1inp_sign_type_names[5]; +extern const struct value_string e1inp_sign_type_names[5]; enum e1inp_ctr { E1I_CTR_HDLC_ABORT, @@ -68,7 +68,7 @@ enum e1inp_ts_type { E1INP_TS_TYPE_HDLC, }; const char *e1inp_tstype_name(enum e1inp_ts_type tp); -const struct value_string e1inp_ts_type_names[6]; +extern const struct value_string e1inp_ts_type_names[6]; /* A timeslot in the E1 interface */ struct e1inp_ts { |