summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2015-01-11 21:40:51 +0100
committerThomas Jarosch <tomj@simonv.com>2015-01-11 21:40:51 +0100
commit2a3e1628a50b9de7c1462ee95eb79937795f5409 (patch)
tree3c2c965007a71c4895a65d8a91252b9ce2255719 /apps
parent85c98bc63c6635fe9e337178f23faa9c0ec3f9fb (diff)
downloadrockbox-2a3e1628a50b9de7c1462ee95eb79937795f5409.tar.gz
rockbox-2a3e1628a50b9de7c1462ee95eb79937795f5409.zip
Limit more variables to file scope
Change-Id: I30219d626316776eb73b4205d63376fa3dbc6361
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/imageviewer/png/tinflate.c2
-rw-r--r--apps/plugins/lua/gmtime.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/imageviewer/png/tinflate.c b/apps/plugins/imageviewer/png/tinflate.c
index 95d8e2b483..f873c37569 100644
--- a/apps/plugins/imageviewer/png/tinflate.c
+++ b/apps/plugins/imageviewer/png/tinflate.c
@@ -96,7 +96,7 @@ typedef struct {
96} TINF_DATA; 96} TINF_DATA;
97 97
98/* static tables */ 98/* static tables */
99TINF_TABLES tbl = { 99static TINF_TABLES tbl = {
100 .sltree = { 100 .sltree = {
101 .table = {0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0018, 101 .table = {0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0018,
102 0x0098, 0x0070, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}, 102 0x0098, 0x0070, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000},
diff --git a/apps/plugins/lua/gmtime.c b/apps/plugins/lua/gmtime.c
index deb24e08c9..19ff3bc088 100644
--- a/apps/plugins/lua/gmtime.c
+++ b/apps/plugins/lua/gmtime.c
@@ -4,7 +4,7 @@
4#define SPD 24*60*60 4#define SPD 24*60*60
5 5
6/* days per month -- nonleap! */ 6/* days per month -- nonleap! */
7const short __spm[13] = 7static const short __spm[13] =
8 { 0, 8 { 0,
9 (31), 9 (31),
10 (31+28), 10 (31+28),