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 /firmware/events.c | |
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 'firmware/events.c')
-rw-r--r-- | firmware/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/events.c b/firmware/events.c index 3386c02465..8015442cc2 100644 --- a/firmware/events.c +++ b/firmware/events.c | |||
@@ -81,7 +81,7 @@ bool add_event_ex(unsigned short id, bool oneshot, void (*handler)(unsigned shor | |||
81 | return do_add_event(id, oneshot, true, handler, user_data); | 81 | return do_add_event(id, oneshot, true, handler, user_data); |
82 | } | 82 | } |
83 | 83 | ||
84 | void do_remove_event(unsigned short id, bool user_data_valid, | 84 | static void do_remove_event(unsigned short id, bool user_data_valid, |
85 | void *handler, void *user_data) | 85 | void *handler, void *user_data) |
86 | { | 86 | { |
87 | int i; | 87 | int i; |