summaryrefslogtreecommitdiffstats
path: root/polyp/mcalign-test.c
diff options
context:
space:
mode:
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;