]> git.meshlink.io Git - catta/blobdiff - avahi-core/prioq-test.c
* avahi-utils: replace python avahi-browse with a version written in C.
[catta] / avahi-core / prioq-test.c
index 0e437021a5880a156cb4476e9f1943a90a4de2a7..d85a2221f6e32f0ee336ffd84250f70dba87650d 100644 (file)
@@ -28,6 +28,8 @@
 #include <stdio.h>
 #include <assert.h>
 
+#include <avahi-common/gccmacro.h>
+
 #include "prioq.h"
 
 #define POINTER_TO_INT(p) ((int) (p))
@@ -80,7 +82,7 @@ static void rec(AvahiPrioQueueNode *n) {
     rec(n->right);
 }
 
-int main(int argc, char *argv[]) {
+int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) {
     AvahiPrioQueue *q, *q2;
     int i;