diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-01-11 01:17:39 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-01-11 01:17:39 +0000 |
commit | 1f0961368f58a9fec319d86c79a86a9f0d008cf5 (patch) | |
tree | c712a897bb34ade3c03a06ba754264153ac3bc16 /polyp/strlist-test.c | |
parent | 6c512fb5a3fdb578179be79672c5096de1a1d25b (diff) |
* 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
Diffstat (limited to 'polyp/strlist-test.c')
-rw-r--r-- | polyp/strlist-test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/polyp/strlist-test.c b/polyp/strlist-test.c index b68a0415..c670a105 100644 --- a/polyp/strlist-test.c +++ b/polyp/strlist-test.c @@ -2,10 +2,11 @@ #include "strlist.h" #include "xmalloc.h" +#include "gccmacro.h" -int main(int argc, char* argv[]) { +int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char* argv[]) { char *t, *u; - struct pa_strlist *l = NULL; + pa_strlist *l = NULL; l = pa_strlist_prepend(l, "e"); l = pa_strlist_prepend(l, "d"); |