aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-06 14:42:15 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-06 14:52:50 +0100
commit59234a3eb28ef9c560518a18c956802a63589183 (patch)
tree83299e9e4cdb48a0e84b439ff64b7dd4a19f9727
parent6c4d2443b478e51741901676c990db8af1ec2ca2 (diff)
mncc: Switch the header file from u_int to uint
Include stdint.h to have the C99 data types.
-rw-r--r--openbsc/include/openbsc/mncc.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/openbsc/include/openbsc/mncc.h b/openbsc/include/openbsc/mncc.h
index 2fc8e0be8..9a9648d4d 100644
--- a/openbsc/include/openbsc/mncc.h
+++ b/openbsc/include/openbsc/mncc.h
@@ -27,6 +27,8 @@
#include <osmocore/linuxlist.h>
#include <osmocore/mncc.h>
+#include <stdint.h>
+
struct gsm_network;
struct msgb;
@@ -39,9 +41,9 @@ struct gsm_call {
void *net;
/* the 'local' transaction */
- u_int32_t callref;
+ uint32_t callref;
/* the 'remote' transaction */
- u_int32_t remote_ref;
+ uint32_t remote_ref;
};
#define MNCC_SETUP_REQ 0x0101
@@ -115,11 +117,11 @@ struct gsm_call {
struct gsm_mncc {
/* context based information */
- u_int32_t msg_type;
- u_int32_t callref;
+ uint32_t msg_type;
+ uint32_t callref;
/* which fields are present */
- u_int32_t fields;
+ uint32_t fields;
/* data derived informations (MNCC_F_ based) */
struct gsm_mncc_bearer_cap bearer_cap;
@@ -150,8 +152,8 @@ struct gsm_mncc {
};
struct gsm_data_frame {
- u_int32_t msg_type;
- u_int32_t callref;
+ uint32_t msg_type;
+ uint32_t callref;
unsigned char data[0];
};