summaryrefslogtreecommitdiffstats
path: root/polyp/voltest.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/voltest.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/voltest.c')
-rw-r--r--polyp/voltest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/voltest.c b/polyp/voltest.c
index d8d5c569..286334d0 100644
--- a/polyp/voltest.c
+++ b/polyp/voltest.c
@@ -3,8 +3,9 @@
#include <stdio.h>
#include <polyp/sample.h>
+#include "gccmacro.h"
-int main() {
+int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
int p;
for (p = 0; p <= 200; p++) {
pa_volume_t v = pa_volume_from_user((double) p/100);