From 4f5af47fdcc7334f8b2956af7360f1f8778e3fe5 Mon Sep 17 00:00:00 2001 From: bertrik Date: Tue, 6 Apr 2010 19:37:41 +0000 Subject: [PATCH] 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(-) diff --git a/apps/recorder/jpeg_load.c b/apps/recorder/jpeg_load.c index ec1143f27..f75176dae 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 }, -- 2.11.4.GIT