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/pacat-simple.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/pacat-simple.c')
-rw-r--r-- | polyp/pacat-simple.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/polyp/pacat-simple.c b/polyp/pacat-simple.c index 09cf4d1a..373cdd57 100644 --- a/polyp/pacat-simple.c +++ b/polyp/pacat-simple.c @@ -30,19 +30,20 @@ #include <polyp/polyplib-simple.h> #include <polyp/polyplib-error.h> +#include "gccmacro.h" #define BUFSIZE 1024 -int main(int argc, char*argv[]) { +int main(PA_GCC_UNUSED int argc, char*argv[]) { /* The Sample format to use */ - static const struct pa_sample_spec ss = { + static const pa_sample_spec ss = { .format = PA_SAMPLE_S16LE, .rate = 44100, .channels = 2 }; - struct pa_simple *s = NULL; + pa_simple *s = NULL; int ret = 1; int error; |