diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 12:30:49 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 12:30:49 +0000 |
commit | a354eb966508761e6c68b4249e647a5905027cf7 (patch) | |
tree | 06ade4624b4630b5f2d61e8fddbfa1a3e0a9451e /net/openmdns/files/patch-mdnsd_mdnsd.h | |
parent | Fix build with -fno-common (diff) |
Fix build with -fno-common
While here regenerate patch files with make makepatch.
Diffstat (limited to 'net/openmdns/files/patch-mdnsd_mdnsd.h')
-rw-r--r-- | net/openmdns/files/patch-mdnsd_mdnsd.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/openmdns/files/patch-mdnsd_mdnsd.h b/net/openmdns/files/patch-mdnsd_mdnsd.h new file mode 100644 index 000000000000..b22f5dc2692d --- /dev/null +++ b/net/openmdns/files/patch-mdnsd_mdnsd.h @@ -0,0 +1,27 @@ +--- mdnsd/mdnsd.h.orig 2017-03-10 09:24:12 UTC ++++ mdnsd/mdnsd.h +@@ -223,9 +223,12 @@ struct pge { + }; + + /* Publish Group Queue, should hold all publishing groups */ +-TAILQ_HEAD(, pg) pg_queue; ++typedef TAILQ_HEAD(, pg) pg_q; ++extern pg_q pg_queue; ++ + /* Publish Group Entry Queue, should hold all publishing group entries */ +-TAILQ_HEAD(, pge) pge_queue; ++typedef TAILQ_HEAD(, pge) pge_q; ++extern pge_q pge_queue; + + struct kif { + char ifname[IF_NAMESIZE]; +@@ -397,7 +400,8 @@ int rr_send_an(struct rr *); + void conflict_resolve_by_rr(struct rr *); + + /* control.c */ +-TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns; ++typedef TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns_t; ++extern ctl_conns_t ctl_conns; + int control_send_rr(struct ctl_conn *, struct rr *, int); + int control_send_ms(struct ctl_conn *, struct mdns_service *, int); + int control_try_answer_ms(struct ctl_conn *, char[MAXHOSTNAMELEN]); |