From 79f19b939f63a1a965bcc9f90cf9b6c8822620cc Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 17 Oct 2009 13:40:42 +0000 Subject: Const correctness for output_dyn_value and unify some identical constants git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23227 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index e863911602..9886843723 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1728,8 +1728,8 @@ static int disk_callback(int btn, struct gui_synclist *lists) char *title = lists->title; static const unsigned char i_vmin[] = { 0, 1, 5, 10, 25, 35, 60, 100 }; static const unsigned char i_vmax[] = { 1, 5, 10, 25, 35, 45, 80, 200 }; - static const unsigned char *kbit_units[] = { "kBit/s", "MBit/s", "GBit/s" }; - static const unsigned char *nsec_units[] = { "ns", "µs", "ms" }; + static const unsigned char * const kbit_units[] = { "kBit/s", "MBit/s", "GBit/s" }; + static const unsigned char * const nsec_units[] = { "ns", "µs", "ms" }; #if (CONFIG_STORAGE & STORAGE_MMC) static const char * const mmc_spec_vers[] = { "1.0-1.2", "1.4", "2.0-2.2", "3.1-3.31", "4.0" }; -- cgit v1.2.3