mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
This commit is contained in:
parent
c907e127f8
commit
fdd4aef340
10 changed files with 30 additions and 30 deletions
|
@ -89,7 +89,7 @@ void skip_tag(const char** document)
|
|||
skip_enumlist(document);
|
||||
}
|
||||
|
||||
void skip_arglist(const char** document)
|
||||
static void skip_arglist(const char** document)
|
||||
{
|
||||
if(**document == ARGLISTOPENSYM)
|
||||
(*document)++;
|
||||
|
@ -106,7 +106,7 @@ void skip_arglist(const char** document)
|
|||
(*document)++;
|
||||
}
|
||||
|
||||
void skip_enumlist(const char** document)
|
||||
static void skip_enumlist(const char** document)
|
||||
{
|
||||
if(**document == ENUMLISTOPENSYM)
|
||||
(*document)++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue