]> git.meshlink.io Git - catta/blobdiff - avahi-compat-howl/text-test.c
* avahi-utils: replace python avahi-browse with a version written in C.
[catta] / avahi-compat-howl / text-test.c
index 995a7f54be42ca1715b3b816ef0bcad2ba2358e9..fea653c0e0df4bdd9ac449ae1f387e41bb3f8094 100644 (file)
@@ -26,6 +26,7 @@
 #include <assert.h>
 #include <stdio.h>
 
+#include <avahi-common/gccmacro.h>
 #include "howl.h"
 
 #define ASSERT_SW_OKAY(t) { sw_result _r; _r = (t); assert(_r == SW_OKAY); }
@@ -65,7 +66,7 @@ static void hexdump(const void* p, size_t size) {
     }
 }
 
-int main(int argc, char *argv[]) {
+int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) {
     sw_text_record r;
     sw_text_record_iterator it;
     char key[255];