mncc: Switch the header file from u_int to uint
Include stdint.h to have the C99 data types.
This commit is contained in:
parent
6c4d2443b4
commit
59234a3eb2
|
@ -27,6 +27,8 @@
|
||||||
#include <osmocore/linuxlist.h>
|
#include <osmocore/linuxlist.h>
|
||||||
#include <osmocore/mncc.h>
|
#include <osmocore/mncc.h>
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
struct gsm_network;
|
struct gsm_network;
|
||||||
struct msgb;
|
struct msgb;
|
||||||
|
|
||||||
|
@ -39,9 +41,9 @@ struct gsm_call {
|
||||||
void *net;
|
void *net;
|
||||||
|
|
||||||
/* the 'local' transaction */
|
/* the 'local' transaction */
|
||||||
u_int32_t callref;
|
uint32_t callref;
|
||||||
/* the 'remote' transaction */
|
/* the 'remote' transaction */
|
||||||
u_int32_t remote_ref;
|
uint32_t remote_ref;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MNCC_SETUP_REQ 0x0101
|
#define MNCC_SETUP_REQ 0x0101
|
||||||
|
@ -115,11 +117,11 @@ struct gsm_call {
|
||||||
|
|
||||||
struct gsm_mncc {
|
struct gsm_mncc {
|
||||||
/* context based information */
|
/* context based information */
|
||||||
u_int32_t msg_type;
|
uint32_t msg_type;
|
||||||
u_int32_t callref;
|
uint32_t callref;
|
||||||
|
|
||||||
/* which fields are present */
|
/* which fields are present */
|
||||||
u_int32_t fields;
|
uint32_t fields;
|
||||||
|
|
||||||
/* data derived informations (MNCC_F_ based) */
|
/* data derived informations (MNCC_F_ based) */
|
||||||
struct gsm_mncc_bearer_cap bearer_cap;
|
struct gsm_mncc_bearer_cap bearer_cap;
|
||||||
|
@ -150,8 +152,8 @@ struct gsm_mncc {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct gsm_data_frame {
|
struct gsm_data_frame {
|
||||||
u_int32_t msg_type;
|
uint32_t msg_type;
|
||||||
u_int32_t callref;
|
uint32_t callref;
|
||||||
unsigned char data[0];
|
unsigned char data[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue