From d44503337dc91926ade98fcb44246e79cb95b084 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 16 Nov 2018 21:36:52 +0100 Subject: mobile: use proper type for boolean flags This makes reading code easier and simplifies further modifications. Change-Id: I7eff2a61495ff167dc19fc9a41882a7a11fbf32d --- src/host/layer23/include/osmocom/bb/mobile/mncc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/host/layer23/include/osmocom/bb') diff --git a/src/host/layer23/include/osmocom/bb/mobile/mncc.h b/src/host/layer23/include/osmocom/bb/mobile/mncc.h index cad1883c..8ec9358d 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/mncc.h +++ b/src/host/layer23/include/osmocom/bb/mobile/mncc.h @@ -36,9 +36,9 @@ struct gsm_call { uint32_t callref; - uint8_t init; /* call initiated, no response yet */ - uint8_t hold; /* call on hold */ - uint8_t ring; /* call ringing/knocking */ + bool init; /* call initiated, no response yet */ + bool hold; /* call on hold */ + bool ring; /* call ringing/knocking */ struct osmo_timer_list dtmf_timer; uint8_t dtmf_state; -- cgit v1.2.3