From a9ffcb3516eb1e66affa2570b273eccd31b9ef16 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Tue, 6 Apr 2010 19:37:41 +0000 Subject: Make array static const in apps/recorder/jpeg_load.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25500 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/jpeg_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/recorder/jpeg_load.c') diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c index ec1143f279..f75176dae1 100644 --- a/apps/recorder/jpeg_load.c +++ b/apps/recorder/jpeg_load.c @@ -843,7 +843,7 @@ struct idct_entry { void (*h_idct)(int16_t *ws, unsigned char *out, int16_t *end, int rowstep); }; -struct idct_entry idct_tbl[] = { +static const struct idct_entry idct_tbl[] = { { PASS1_BITS, NULL, jpeg_idct1h }, { PASS1_BITS, jpeg_idct2v, jpeg_idct2h }, { 0, jpeg_idct4v, jpeg_idct4h }, -- cgit v1.2.3