diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-07 14:09:11 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-07 14:09:11 +0000 |
commit | 791d425ff1391772b23add013e69734a97eb9399 (patch) | |
tree | d8ee987f8fe1cdddd00bb0b6dda33222240bb608 /apps/plugins/doom | |
parent | 17e5399d3dc78f70a092fe2563e4fff59241bde2 (diff) | |
download | rockbox-791d425ff1391772b23add013e69734a97eb9399.tar.gz rockbox-791d425ff1391772b23add013e69734a97eb9399.zip |
plugins (doom, midi, rockboy): don't use non-static inline
some functions can be static -> static inline
some functions are external and can't be inlined -> remove inline
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28019 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r-- | apps/plugins/doom/i_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index e7f8e9014b..7758ca3fea 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c | |||
@@ -435,7 +435,7 @@ static inline unsigned int read_scroll_wheel(void) | |||
435 | } | 435 | } |
436 | #endif | 436 | #endif |
437 | 437 | ||
438 | inline void getkey() | 438 | static inline void getkey() |
439 | { | 439 | { |
440 | event_t event; | 440 | event_t event; |
441 | /* Same button handling as rockboy */ | 441 | /* Same button handling as rockboy */ |
@@ -609,7 +609,7 @@ inline void getkey() | |||
609 | } | 609 | } |
610 | } | 610 | } |
611 | 611 | ||
612 | inline void I_StartTic (void) | 612 | void I_StartTic (void) |
613 | { | 613 | { |
614 | getkey(); | 614 | getkey(); |
615 | } | 615 | } |