diff options
| author | Thomas Jarosch <tomj@simonv.com> | 2015-01-11 21:40:51 +0100 |
|---|---|---|
| committer | Thomas Jarosch <tomj@simonv.com> | 2015-01-11 21:40:51 +0100 |
| commit | 2a3e1628a50b9de7c1462ee95eb79937795f5409 (patch) | |
| tree | 3c2c965007a71c4895a65d8a91252b9ce2255719 /apps | |
| parent | 85c98bc63c6635fe9e337178f23faa9c0ec3f9fb (diff) | |
| download | rockbox-2a3e1628a50b9de7c1462ee95eb79937795f5409.zip rockbox-2a3e1628a50b9de7c1462ee95eb79937795f5409.tar.gz rockbox-2a3e1628a50b9de7c1462ee95eb79937795f5409.tar.bz2 rockbox-2a3e1628a50b9de7c1462ee95eb79937795f5409.tar.xz | |
Limit more variables to file scope
Change-Id: I30219d626316776eb73b4205d63376fa3dbc6361
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/imageviewer/png/tinflate.c | 2 | ||||
| -rw-r--r-- | apps/plugins/lua/gmtime.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/imageviewer/png/tinflate.c b/apps/plugins/imageviewer/png/tinflate.c index 95d8e2b..f873c37 100644 --- a/apps/plugins/imageviewer/png/tinflate.c +++ b/apps/plugins/imageviewer/png/tinflate.c @@ -96,7 +96,7 @@ typedef struct { } TINF_DATA; /* static tables */ -TINF_TABLES tbl = { +static TINF_TABLES tbl = { .sltree = { .table = {0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0018, 0x0098, 0x0070, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}, diff --git a/apps/plugins/lua/gmtime.c b/apps/plugins/lua/gmtime.c index deb24e0..19ff3bc 100644 --- a/apps/plugins/lua/gmtime.c +++ b/apps/plugins/lua/gmtime.c @@ -4,7 +4,7 @@ #define SPD 24*60*60 /* days per month -- nonleap! */ -const short __spm[13] = +static const short __spm[13] = { 0, (31), (31+28), |