aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore/protocol/gsm_08_08.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-04-28 10:05:29 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-04-28 10:05:29 +0200
commita074ec4b893af1eda06144b8b857a09cc9b1c375 (patch)
tree5db52c4ba1acb0bb2a4a7e57e493e9838528a318 /include/osmocore/protocol/gsm_08_08.h
parent221030fc85c9e0232eb0adcf1142ac1c48c8778a (diff)
gsm 08.08: Fix some u_int8_t -> uint8_t
This breaks the ARM build in osmocom-bb. Besides uint??_t seems to be the preferred type in osmocore. (coming from stdint.h vs sys/types.h) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include/osmocore/protocol/gsm_08_08.h')
-rw-r--r--include/osmocore/protocol/gsm_08_08.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/osmocore/protocol/gsm_08_08.h b/include/osmocore/protocol/gsm_08_08.h
index 9c29ba9c..6b8f9359 100644
--- a/include/osmocore/protocol/gsm_08_08.h
+++ b/include/osmocore/protocol/gsm_08_08.h
@@ -30,14 +30,14 @@ enum BSSAP_MSG_TYPE {
};
struct bssmap_header {
- u_int8_t type;
- u_int8_t length;
+ uint8_t type;
+ uint8_t length;
} __attribute__((packed));
struct dtap_header {
- u_int8_t type;
- u_int8_t link_id;
- u_int8_t length;
+ uint8_t type;
+ uint8_t link_id;
+ uint8_t length;
} __attribute__((packed));