mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Move main event base extern declaration to mdns_avahi.c where it's used
This commit is contained in:
@@ -56,7 +56,4 @@
|
||||
#endif
|
||||
|
||||
|
||||
/* Event bases */
|
||||
extern struct event_base *evbase_main;
|
||||
|
||||
#endif /* _DAAPD_H_ */
|
||||
|
||||
@@ -37,6 +37,10 @@
|
||||
#include "err.h"
|
||||
#include "mdns_avahi.h"
|
||||
|
||||
|
||||
/* Main event base, from main.c */
|
||||
extern struct event_base *evbase_main;
|
||||
|
||||
static AvahiClient *mdns_client = NULL;
|
||||
static AvahiEntryGroup *mdns_group = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user