summaryrefslogtreecommitdiffstats
path: root/polyp/mcalign-test.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-01-11 01:17:39 +0000
committerLennart Poettering <lennart@poettering.net>2006-01-11 01:17:39 +0000
commit1f0961368f58a9fec319d86c79a86a9f0d008cf5 (patch)
treec712a897bb34ade3c03a06ba754264153ac3bc16 /polyp/mcalign-test.c
parent6c512fb5a3fdb578179be79672c5096de1a1d25b (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/mcalign-test.c')
-rw-r--r--polyp/mcalign-test.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/polyp/mcalign-test.c b/polyp/mcalign-test.c
index 2ace6e59..c151d8f2 100644
--- a/polyp/mcalign-test.c
+++ b/polyp/mcalign-test.c
@@ -33,12 +33,13 @@
#include "util.h"
#include "mcalign.h"
+#include "gccmacro.h"
/* A simple program for testing pa_mcalign */
-int main(int argc, char *argv[]) {
- struct pa_mcalign *a = pa_mcalign_new(11, NULL);
- struct pa_memchunk c;
+int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
+ pa_mcalign *a = pa_mcalign_new(11, NULL);
+ pa_memchunk c;
pa_memchunk_reset(&c);
@@ -76,7 +77,7 @@ int main(int argc, char *argv[]) {
}
for (;;) {
- struct pa_memchunk t;
+ pa_memchunk t;
if (pa_mcalign_pop(a, &t) < 0)
break;