aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-07-08 16:48:11 +0200
committerHarald Welte <laforge@gnumonks.org>2012-07-13 14:24:28 +0200
commit2d693594e2d01a4ee97829b2593d7941a67333ce (patch)
tree09174383a003faf27b0c284c0d91e31287b25efc /openbsc/include
parentc52eac548fc6c6ac97d35441d1bf55916413c31d (diff)
move BTS-specific timezone override into sub-structure
Group all three structure members involved in bts-specific timezone handling into a sub-structure.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 7db41c3dd..310e8886b 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -537,9 +537,11 @@ struct gsm_bts {
sysinfo_buf_t si_buf[_MAX_SYSINFO_TYPE];
/* TimeZone hours, mins, and bts specific */
- int tzhr;
- int tzmn;
- int tz_bts_specific;
+ struct {
+ int hr;
+ int mn;
+ int override;
+ } tz;
/* ip.accesss Unit ID's have Site/BTS/TRX layout */
union {