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 /lib/skin_parser | |
| 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 'lib/skin_parser')
| -rw-r--r-- | lib/skin_parser/skin_debug.c | 8 | ||||
| -rw-r--r-- | lib/skin_parser/skin_parser.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c index a204274..43cd746 100644 --- a/lib/skin_parser/skin_debug.c +++ b/lib/skin_parser/skin_debug.c @@ -34,10 +34,10 @@ extern char* skin_start; extern char* skin_buffer; /* Global error variables */ -int error_line; -int error_col; -const char *error_line_start; -char* error_message; +static int error_line; +static int error_col; +static const char *error_line_start; +static char* error_message; static inline struct skin_element* diff --git a/lib/skin_parser/skin_parser.c b/lib/skin_parser/skin_parser.c index e47054b..1d784f9 100644 --- a/lib/skin_parser/skin_parser.c +++ b/lib/skin_parser/skin_parser.c @@ -35,7 +35,7 @@ /* Global variables for the parser */ int skin_line = 0; char* skin_start = 0; -int viewport_line = 0; +static int viewport_line = 0; #ifdef ROCKBOX static skin_callback callback = NULL; |