mncc: Switch the header file from u_int to uint

Include stdint.h to have the C99 data types.
This commit is contained in:
Holger Hans Peter Freyther 2011-01-06 14:42:15 +01:00
parent 6c4d2443b4
commit 59234a3eb2
1 changed files with 9 additions and 7 deletions

View File

@ -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];
};