diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-10-20 21:54:44 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-10-20 21:54:44 +0000 |
commit | 774bacc692b4d5c7b769bb88d24e182db9e4656f (patch) | |
tree | 07c5ed05c9d46145c783bd1de5062731e6babb32 /apps/scrobbler.h | |
parent | 872852639fc52bcdb2cc8199fed60f81c7cad1f9 (diff) | |
download | rockbox-774bacc692b4d5c7b769bb88d24e182db9e4656f.tar.gz rockbox-774bacc692b4d5c7b769bb88d24e182db9e4656f.zip |
Correct wrong usage of event callbacks all over the place. It's not supposed to return anything, and should take a data parameter.
Fixing it because correcting the event api prototypes causes many warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23301 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/scrobbler.h')
-rw-r--r-- | apps/scrobbler.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/scrobbler.h b/apps/scrobbler.h index d7a9b25624..050522e43b 100644 --- a/apps/scrobbler.h +++ b/apps/scrobbler.h @@ -18,10 +18,14 @@ * KIND, either express or implied. * ****************************************************************************/ - -void scrobbler_change_event(struct mp3entry *id); + +#ifndef __SCROBBLER_H__ +#define __SCROBBLER_H__ + int scrobbler_init(void); void scrobbler_flush_cache(void); void scrobbler_shutdown(void); void scrobbler_poweroff(void); bool scrobbler_is_enabled(void); + +#endif /* __SCROBBLER_H__ */ |