diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-11-04 11:03:37 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-11-04 11:04:03 +0100 |
commit | 2272a03a3705aaae1f95796895220258eb08f6ba (patch) | |
tree | 22e1010827ac78fbff921ea156c9bb0d4c415851 /include/osmocom/gsm/gsm_utils.h | |
parent | b99f4ca2d8517d99cdf8aa183dbfda7b233bb781 (diff) |
gsm: Fix compilation error under some compilers
Some compilers don't like declaration of enums in header files like we
do sometimes for structs:
enum gsm_band;
void foobar(enum gsm_band band);
triggers:
error: use of enum 'gsm_band' without previous declaration
Fixes: b99f4ca2d8517d99cdf8aa183dbfda7b233bb781
Related: OS#4244
Change-Id: I6c2102c763f565bbe3c8dd7e5b4e04c4a45fff67
Diffstat (limited to 'include/osmocom/gsm/gsm_utils.h')
-rw-r--r-- | include/osmocom/gsm/gsm_utils.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/osmocom/gsm/gsm_utils.h b/include/osmocom/gsm/gsm_utils.h index 7a5da9a6..38a3f6e0 100644 --- a/include/osmocom/gsm/gsm_utils.h +++ b/include/osmocom/gsm/gsm_utils.h @@ -30,7 +30,6 @@ #include <osmocom/core/defs.h> #include <osmocom/core/utils.h> -#include <osmocom/gsm/protocol/gsm_04_08.h> #define ADD_MODULO(sum, delta, modulo) do { \ if ((sum += delta) >= modulo) \ |