aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data_shared.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-07-08 16:48:11 +0200
committerHarald Welte <laforge@gnumonks.org>2012-07-12 01:14:28 +0200
commit45f9171175fba99fff594465cb85d596212b5cac (patch)
tree42d7a1123ecd3c4ea54c4857575550c2f3dda24b /openbsc/include/openbsc/gsm_data_shared.h
parent25cf824edc5e7b548824b00abb91922243b5b6b5 (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/openbsc/gsm_data_shared.h')
-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 {