Move main event base extern declaration to mdns_avahi.c where it's used
This commit is contained in:
parent
524bdd3f0d
commit
c85f9ed7dd
|
@ -56,7 +56,4 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Event bases */
|
|
||||||
extern struct event_base *evbase_main;
|
|
||||||
|
|
||||||
#endif /* _DAAPD_H_ */
|
#endif /* _DAAPD_H_ */
|
||||||
|
|
|
@ -37,6 +37,10 @@
|
||||||
#include "err.h"
|
#include "err.h"
|
||||||
#include "mdns_avahi.h"
|
#include "mdns_avahi.h"
|
||||||
|
|
||||||
|
|
||||||
|
/* Main event base, from main.c */
|
||||||
|
extern struct event_base *evbase_main;
|
||||||
|
|
||||||
static AvahiClient *mdns_client = NULL;
|
static AvahiClient *mdns_client = NULL;
|
||||||
static AvahiEntryGroup *mdns_group = NULL;
|
static AvahiEntryGroup *mdns_group = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue