From b159832418dd6ac92229686e1ac6b23f0fe609cb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 10:49:16 +0200 Subject: notify: removed the "Notify" typedef Typedefs shouldn't be used, use the bare struct names instead. --- src/decoder_control.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/decoder_control.h') 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 -- cgit v1.2.3