]> git.meshlink.io Git - catta/blobdiff - avahi-compat-howl/address.c
fix bad memory access in simple-procotol.c's debug output
[catta] / avahi-compat-howl / address.c
index 6f26d1aa9e02542ac12ee327ebe37c14e4870326..1d9fbbe3724d2b78120cab28ea8786081a98d7a8 100644 (file)
@@ -31,8 +31,9 @@
 #include <arpa/inet.h>
 #include <sys/types.h>
 
-#include <howl.h>
+#include <avahi-common/gccmacro.h>
 
+#include "howl.h"
 #include "warn.h"
 
 sw_ipv4_address sw_ipv4_address_any(void) {
@@ -138,7 +139,7 @@ sw_result sw_ipv4_address_init_from_this_host(sw_ipv4_address *self) {
     return SW_OKAY;
 }
 
-sw_result sw_ipv4_address_fina(sw_ipv4_address self) {
+sw_result sw_ipv4_address_fina(AVAHI_GCC_UNUSED sw_ipv4_address self) {
 
     AVAHI_WARN_LINKAGE;