From 1f0961368f58a9fec319d86c79a86a9f0d008cf5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jan 2006 01:17:39 +0000 Subject: * remove a lot of compiler warnings introduced by using some new GCC flags * add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/strlist.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'polyp/strlist.h') diff --git a/polyp/strlist.h b/polyp/strlist.h index 533f5533..2c54dc74 100644 --- a/polyp/strlist.h +++ b/polyp/strlist.h @@ -22,26 +22,26 @@ USA. ***/ -struct pa_strlist; +typedef struct pa_strlist pa_strlist; /* Add the specified server string to the list, return the new linked list head */ -struct pa_strlist* pa_strlist_prepend(struct pa_strlist *l, const char *s); +pa_strlist* pa_strlist_prepend(pa_strlist *l, const char *s); /* Remove the specified string from the list, return the new linked list head */ -struct pa_strlist* pa_strlist_remove(struct pa_strlist *l, const char *s); +pa_strlist* pa_strlist_remove(pa_strlist *l, const char *s); /* Make a whitespace separated string of all server stringes. Returned memory has to be freed with pa_xfree() */ -char *pa_strlist_tostring(struct pa_strlist *l); +char *pa_strlist_tostring(pa_strlist *l); /* Free the entire list */ -void pa_strlist_free(struct pa_strlist *l); +void pa_strlist_free(pa_strlist *l); /* Return the next entry in the list in *string and remove it from * the list. Returns the new list head. The memory *string points to * has to be freed with pa_xfree() */ -struct pa_strlist* pa_strlist_pop(struct pa_strlist *l, char **s); +pa_strlist* pa_strlist_pop(pa_strlist *l, char **s); /* Parse a whitespace separated server list */ -struct pa_strlist* pa_strlist_parse(const char *s); +pa_strlist* pa_strlist_parse(const char *s); #endif -- cgit