Remove mdnsapi_mdns_resp_announce() again - it is not really needed and declaring it in mdns.h breaks layering between callback-style API and thread-safe API

This commit is contained in:
Dirk Ziegelmeier 2018-01-02 12:33:07 +01:00
parent dfd6a31ecb
commit 36d160686a

View File

@ -77,13 +77,6 @@ void mdns_resp_announce(struct netif *netif);
* @param netif The network interface where settings have changed.
*/
#define mdns_resp_netif_settings_changed(netif) mdns_resp_announce(netif)
/** @ingroup mdns
* To trigger announces from non-TCPIP threads
* Be sure to \#include lwip/netifapi.h when using this macro
* @see mdns_resp_announce()
*/
#define mdnsapi_mdns_resp_announce(netif) netifapi_netif_common(netif, mdns_resp_announce, NULL)
#endif /* LWIP_MDNS_RESPONDER */