notify: removed the "Notify" typedef

Typedefs shouldn't be used, use the bare struct names instead.
This commit is contained in:
Max Kellermann
2008-10-08 10:49:16 +02:00
parent d562ba5fbb
commit b159832418
7 changed files with 29 additions and 19 deletions

View File

@@ -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