diff options
author | Thomas Jarosch <tomj@simonv.com> | 2015-01-05 18:44:36 +0100 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2015-01-05 18:44:36 +0100 |
commit | fdd4aef34003587d7fd9ed754dd35ce901b639bf (patch) | |
tree | d129b8b8e587d4a1a7215c2226bfafe55f6dd643 /lib/skin_parser/skin_scan.h | |
parent | c907e127f8b1d267e91e82d28cdb210288852b82 (diff) | |
download | rockbox-fdd4aef34003587d7fd9ed754dd35ce901b639bf.tar.gz rockbox-fdd4aef34003587d7fd9ed754dd35ce901b639bf.zip |
Make thirty functions static to reduce binary size
If any of those functions should be (unused) API functions,
they can easily be turned back once really needed.
Detected using a new cppcheck check that
uses the internal symbol database to catch
functions that are only used in the current file.
Change-Id: Ic2b1e5b8020b76397f11cefc4e205f3b7ac1f184
Diffstat (limited to 'lib/skin_parser/skin_scan.h')
-rw-r--r-- | lib/skin_parser/skin_scan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/skin_parser/skin_scan.h b/lib/skin_parser/skin_scan.h index 6281582b88..b1f842b8ce 100644 --- a/lib/skin_parser/skin_scan.h +++ b/lib/skin_parser/skin_scan.h | |||
@@ -31,8 +31,8 @@ extern "C" | |||
31 | /* Scanning functions */ | 31 | /* Scanning functions */ |
32 | void skip_tag(const char** document); | 32 | void skip_tag(const char** document); |
33 | void skip_comment(const char** document); | 33 | void skip_comment(const char** document); |
34 | void skip_arglist(const char** document); | 34 | static void skip_arglist(const char** document); |
35 | void skip_enumlist(const char** document); | 35 | static void skip_enumlist(const char** document); |
36 | char* scan_string(const char** document); | 36 | char* scan_string(const char** document); |
37 | int scan_int(const char** document); | 37 | int scan_int(const char** document); |
38 | int check_viewport(const char* document); /* Checks for a viewport declaration */ | 38 | int check_viewport(const char* document); /* Checks for a viewport declaration */ |