aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:16 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:16 +0200
commitb159832418dd6ac92229686e1ac6b23f0fe609cb (patch)
treecee4cb0d8d63492e5db470826cc396ba00cfe5cf /src/decoder_control.h
parentd562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f (diff)
downloadmpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.tar.gz
mpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.tar.xz
mpd-b159832418dd6ac92229686e1ac6b23f0fe609cb.zip
notify: removed the "Notify" typedef
Typedefs shouldn't be used, use the bare struct names instead.
Diffstat (limited to 'src/decoder_control.h')
-rw-r--r--src/decoder_control.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/decoder_control.h b/src/decoder_control.h
index f9e65bc51..0d163257d 100644
--- a/src/decoder_control.h
+++ b/src/decoder_control.h
@@ -39,7 +39,7 @@ enum decoder_state {
#define DECODE_ERROR_FILE 20
struct decoder_control {
- Notify notify;
+ struct notify notify;
volatile enum decoder_state state;
volatile enum decoder_command command;
@@ -81,16 +81,19 @@ decoder_current_song(void)
return dc.current_song;
}
-void dc_command_wait(Notify *notify);
+void
+dc_command_wait(struct notify *notify);
void
-dc_start(Notify *notify, struct song *song);
+dc_start(struct notify *notify, struct song *song);
void
dc_start_async(struct song *song);
-void dc_stop(Notify *notify);
+void
+dc_stop(struct notify *notify);
-int dc_seek(Notify *notify, double where);
+int
+dc_seek(struct notify *notify, double where);
#endif