From 59234a3eb28ef9c560518a18c956802a63589183 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 6 Jan 2011 14:42:15 +0100 Subject: [PATCH] mncc: Switch the header file from u_int to uint Include stdint.h to have the C99 data types. --- openbsc/include/openbsc/mncc.h | 16 +++++++++------- 1 file 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 #include +#include + 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]; };