summaryrefslogtreecommitdiffstats
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 3e93cc9649..327dc5802d 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -1246,14 +1246,14 @@ const char *format_time_auto(char *buffer, int buf_len, long value,
[UNIT_IDX_SEC] = 4,/* 999.59:59:0 RTL offsets */
[UNIT_IDX_MS] = 0,/* 0 .4 :7 :10 won't change */
}; /* {10,7,4,0}; Offsets */
- const uint16_t unitlock[UNIT_IDX_TIME_COUNT] =
+ static const uint16_t unitlock[UNIT_IDX_TIME_COUNT] =
{
[UNIT_IDX_HR] = UNIT_LOCK_HR,
[UNIT_IDX_MIN] = UNIT_LOCK_MIN,
[UNIT_IDX_SEC] = UNIT_LOCK_SEC,
[UNIT_IDX_MS] = 0,
}; /* unitlock */
- const uint16_t units[UNIT_IDX_TIME_COUNT] =
+ static const uint16_t units[UNIT_IDX_TIME_COUNT] =
{
[UNIT_IDX_HR] = UNIT_HOUR,
[UNIT_IDX_MIN] = UNIT_MIN,