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:
Thomas Jarosch 2015-01-05 18:44:36 +01:00
parent c907e127f8
commit fdd4aef340
10 changed files with 30 additions and 30 deletions

View file

@ -81,7 +81,7 @@ bool add_event_ex(unsigned short id, bool oneshot, void (*handler)(unsigned shor
return do_add_event(id, oneshot, true, handler, user_data);
}
void do_remove_event(unsigned short id, bool user_data_valid,
static void do_remove_event(unsigned short id, bool user_data_valid,
void *handler, void *user_data)
{
int i;