From 85b77b81caa40f8bcd03921380246cb5863d5d21 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 23:48:01 +0200 Subject: *: use gcc.h macros instead of GLib --- src/ZeroconfBonjour.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ZeroconfBonjour.cxx') diff --git a/src/ZeroconfBonjour.cxx b/src/ZeroconfBonjour.cxx index 959c90242..b77154e1b 100644 --- a/src/ZeroconfBonjour.cxx +++ b/src/ZeroconfBonjour.cxx @@ -56,12 +56,12 @@ protected: static BonjourMonitor *bonjour_monitor; static void -dnsRegisterCallback(G_GNUC_UNUSED DNSServiceRef sdRef, - G_GNUC_UNUSED DNSServiceFlags flags, +dnsRegisterCallback(gcc_unused DNSServiceRef sdRef, + gcc_unused DNSServiceFlags flags, DNSServiceErrorType errorCode, const char *name, - G_GNUC_UNUSED const char *regtype, - G_GNUC_UNUSED const char *domain, - G_GNUC_UNUSED void *context) + gcc_unused const char *regtype, + gcc_unused const char *domain, + gcc_unused void *context) { if (errorCode != kDNSServiceErr_NoError) { g_warning("Failed to register zeroconf service."); -- cgit v1.2.3