mncc: move MNCC_F_ALL from mncc.c to mncc.h
Move it closer to the other MNCC_F_* entries, so that it's more likely that it gets updated when new flags are added. Change-Id: If1a12a696b87184c9eee14f475594c317927427b Related: OS#5282
This commit is contained in:
parent
fdfe0c23ec
commit
8e15c797ca
|
@ -126,6 +126,9 @@ struct gsm_call {
|
||||||
#define MNCC_F_SIGNAL 0x2000
|
#define MNCC_F_SIGNAL 0x2000
|
||||||
#define MNCC_F_GCR 0x4000
|
#define MNCC_F_GCR 0x4000
|
||||||
|
|
||||||
|
/* UPDATEME when adding new MNCC_F_* entries above */
|
||||||
|
#define MNCC_F_ALL 0x7fff
|
||||||
|
|
||||||
struct gsm_mncc {
|
struct gsm_mncc {
|
||||||
/* context based information */
|
/* context based information */
|
||||||
uint32_t msg_type;
|
uint32_t msg_type;
|
||||||
|
|
|
@ -110,8 +110,6 @@ void mncc_set_cause(struct gsm_mncc *data, int loc, int val)
|
||||||
* MNCC validation code. Move to libosmocore once headers are merged
|
* MNCC validation code. Move to libosmocore once headers are merged
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
#define MNCC_F_ALL 0x7fff
|
|
||||||
|
|
||||||
static int check_string_terminated(const char *str, unsigned int size)
|
static int check_string_terminated(const char *str, unsigned int size)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in New Issue