diff --git a/audio/audio.h b/audio/audio.h index f234ad0f54..454ade260e 100644 --- a/audio/audio.h +++ b/audio/audio.h @@ -27,7 +27,7 @@ #include "config-host.h" #include "qemu-queue.h" -typedef void (*audio_callback_fn_t) (void *opaque, int avail); +typedef void (*audio_callback_fn) (void *opaque, int avail); typedef enum { AUD_FMT_U8, @@ -108,7 +108,7 @@ SWVoiceOut *AUD_open_out ( SWVoiceOut *sw, const char *name, void *callback_opaque, - audio_callback_fn_t callback_fn, + audio_callback_fn callback_fn, struct audsettings *settings ); @@ -129,7 +129,7 @@ SWVoiceIn *AUD_open_in ( SWVoiceIn *sw, const char *name, void *callback_opaque, - audio_callback_fn_t callback_fn, + audio_callback_fn callback_fn, struct audsettings *settings ); diff --git a/audio/audio_int.h b/audio/audio_int.h index 317c9fc115..06e313f836 100644 --- a/audio/audio_int.h +++ b/audio/audio_int.h @@ -50,7 +50,7 @@ struct audio_option { struct audio_callback { void *opaque; - audio_callback_fn_t fn; + audio_callback_fn fn; }; struct audio_pcm_info { diff --git a/audio/audio_template.h b/audio/audio_template.h index 70c4a8818b..14c648c05f 100644 --- a/audio/audio_template.h +++ b/audio/audio_template.h @@ -402,7 +402,7 @@ SW *glue (AUD_open_, TYPE) ( SW *sw, const char *name, void *callback_opaque , - audio_callback_fn_t callback_fn, + audio_callback_fn callback_fn, struct audsettings *as ) {