Skip to content

Commit

Permalink
Completely remove entries for mDNS backends that are not included.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Sep 7, 2014
1 parent 563d4c8 commit f64f598
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,25 @@

#ifdef CONFIG_AVAHI
extern mdns_backend mdns_avahi;
#endif

extern mdns_backend mdns_external_avahi;
extern mdns_backend mdns_external_dns_sd;
extern mdns_backend mdns_tinysvcmdns;

#endif
#ifdef CONFIG_HAVE_DNS_SD_H
extern mdns_backend mdns_dns_sd;
extern mdns_backend mdns_external_dns_sd;
#endif
#ifdef CONFIG_TINYSVCMDNS
extern mdns_backend mdns_tinysvcmdns;
#endif

static mdns_backend *mdns_backends[] = {
#ifdef CONFIG_AVAHI
&mdns_avahi,
&mdns_external_avahi,
#endif
#ifdef CONFIG_HAVE_DNS_SD_H
&mdns_dns_sd,
#endif
&mdns_external_avahi,
&mdns_external_dns_sd,
#endif
#ifdef CONFIG_TINYSVCMDNS
&mdns_tinysvcmdns,
#endif
Expand Down

0 comments on commit f64f598

Please sign in to comment.