diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2008-05-04 13:21:07 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-05-04 13:21:07 +0000 |
| commit | a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7 (patch) | |
| tree | 65d3214e15daa1efb5782e075b9841848539b334 /apps/plugins/lib/playback_control.c | |
| parent | 517aca8532af3121d9c75ff293c5269f20c0b540 (diff) | |
| download | rockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.zip rockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.tar.gz rockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.tar.bz2 rockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.tar.xz | |
pluginlib: made local functions in static and made sure that source files include their own header file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17353 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/playback_control.c')
| -rw-r--r-- | apps/plugins/lib/playback_control.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/lib/playback_control.c b/apps/plugins/lib/playback_control.c index af4384e..7e74728 100644 --- a/apps/plugins/lib/playback_control.c +++ b/apps/plugins/lib/playback_control.c @@ -18,17 +18,18 @@ ****************************************************************************/ #include "plugin.h" +#include "playback_control.h" struct plugin_api* api = 0; struct viewport *parentvp = NULL; -bool prevtrack(void) +static bool prevtrack(void) { api->audio_prev(); return false; } -bool play(void) +static bool play(void) { int audio_status = api->audio_status(); if (!audio_status && api->global_status->resume_index != -1) @@ -46,13 +47,13 @@ bool play(void) return false; } -bool stop(void) +static bool stop(void) { api->audio_stop(); return false; } -bool nexttrack(void) +static bool nexttrack(void) { api->audio_next(); return false; |