]> git.meshlink.io Git - catta/blobdiff - avahi-core/response-sched.c
update TODO, only 3 items on the TODO left
[catta] / avahi-core / response-sched.c
index 65a32af6e64be71a0e75e4fe40cd143ef64f06d1..7ab557523cd4d351aaa5d7c1fe83e802ffc3edaa 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "response-sched.h"
 #include "log.h"
+#include "rr-util.h"
 
 /* Local packets are supressed this long after sending them */
 #define AVAHI_RESPONSE_HISTORY_MSEC 500
@@ -187,7 +188,7 @@ void avahi_response_scheduler_clear(AvahiResponseScheduler *s) {
         job_free(s, s->suppressed);
 }
 
-static void enumerate_aux_records_callback(AvahiServer *s, AvahiRecord *r, int flush_cache, void* userdata) {
+static void enumerate_aux_records_callback(AVAHI_GCC_UNUSED AvahiServer *s, AvahiRecord *r, int flush_cache, void* userdata) {
     AvahiResponseJob *rj = userdata;
     
     assert(r);
@@ -264,7 +265,7 @@ static void send_response_packet(AvahiResponseScheduler *s, AvahiResponseJob *rj
     avahi_dns_packet_free(p);
 }
 
-static void elapse_callback(AvahiTimeEvent *e, void* data) {
+static void elapse_callback(AVAHI_GCC_UNUSED AvahiTimeEvent *e, void* data) {
     AvahiResponseJob *rj = data;
 
     assert(rj);