]> 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 a32e1139b298133dba0a3d569ce3b621bd47ea66..fea653c0e0df4bdd9ac449ae1f387e41bb3f8094 100644 (file)
@@ -26,7 +26,8 @@
 #include <assert.h>
 #include <stdio.h>
 
-#include <howl.h>
+#include <avahi-common/gccmacro.h>
+#include "howl.h"
 
 #define ASSERT_SW_OKAY(t) { sw_result _r; _r = (t); assert(_r == SW_OKAY); }
 #define ASSERT_NOT_NULL(t) { const void* _r; r = (t); assert(_r); }
@@ -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];