/pidgin/main: cd5a6082cb27: Remove remaining references to LINK_...
Daniel Atallah
datallah at pidgin.im
Wed Dec 17 09:15:33 EST 2014
Changeset: cd5a6082cb27456812846c2bd4af84ee6d426a6d
Author: Daniel Atallah <datallah at pidgin.im>
Date: 2014-12-17 14:14 +0000
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/cd5a6082cb27
Description:
Remove remaining references to LINK_DNS_SD_DIRECTLY. Refs #16507
diffstat:
libpurple/protocols/bonjour/dns_sd_proxy.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diffs (41 lines):
diff --git a/libpurple/protocols/bonjour/dns_sd_proxy.c b/libpurple/protocols/bonjour/dns_sd_proxy.c
--- a/libpurple/protocols/bonjour/dns_sd_proxy.c
+++ b/libpurple/protocols/bonjour/dns_sd_proxy.c
@@ -22,7 +22,6 @@
#include "win32dep.h"
#include "dns_sd_proxy.h"
-#ifndef LINK_DNS_SD_DIRECTLY
static DNSServiceErrorType (DNSSD_API* _DNSServiceAddRecord)(DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags,
uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl);
static DNSServiceErrorType (DNSSD_API* _DNSServiceBrowse)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex,
@@ -50,10 +49,8 @@ static int16_t (DNSSD_API* _TXTRecordGet
static const void * (DNSSD_API* _TXTRecordGetValuePtr)(uint16_t txtLen, const void *txtRecord, const char *key, uint8_t *valueLen);
static DNSServiceErrorType (DNSSD_API* _TXTRecordSetValue)(TXTRecordRef *txtRecord, const char *key, uint8_t valueSize, const void *value);
-#endif
gboolean dns_sd_available(void) {
-#ifndef LINK_DNS_SD_DIRECTLY
static gboolean initialized = FALSE;
static gboolean loaded = FALSE;
@@ -81,12 +78,8 @@ gboolean dns_sd_available(void) {
}
}
return loaded;
-#else
- return TRUE;
-#endif
}
-#ifndef LINK_DNS_SD_DIRECTLY
DNSServiceErrorType _wpurple_DNSServiceAddRecord(DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags,
uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl) {
@@ -187,5 +180,3 @@ DNSServiceErrorType _wpurple_TXTRecordSe
return (_TXTRecordSetValue)(txtRecord, key, valueSize, value);
}
-#endif /*LINK_DNS_SD_DIRECTLY*/
-
More information about the Commits
mailing list