Use simple free function in pa_queue_free

This commit is contained in:
Maarten Bosmans 2011-11-18 09:58:09 +01:00 committed by Colin Guthrie
parent e45b02de55
commit cbb3a8a61c
6 changed files with 13 additions and 13 deletions

View file

@ -22,7 +22,7 @@
USA.
***/
#include <pulsecore/idxset.h>
#include <pulse/def.h>
typedef struct pa_queue pa_queue;
@ -33,7 +33,7 @@ pa_queue* pa_queue_new(void);
/* Free the queue and run the specified callback function for every
* remaining entry. The callback function may be NULL. */
void pa_queue_free(pa_queue* q, pa_free2_cb_t free_func, void *userdata);
void pa_queue_free(pa_queue *q, pa_free_cb_t free_func);
void pa_queue_push(pa_queue *q, void *p);
void* pa_queue_pop(pa_queue *q);