summaryrefslogtreecommitdiff
path: root/usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2016-06-21 15:45:49 +0300
committerRobert Mustacchi <rm@joyent.com>2016-07-22 07:39:00 -0700
commitcda73f64f20b8a0afc4909f5ea1f055ec7913856 (patch)
tree6f93e00913bd2c9f2aab6396979ba091da82dde6 /usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h
parent6da83bb0b886fae280a129718d645576517b62c6 (diff)
downloadillumos-joyent-cda73f64f20b8a0afc4909f5ea1f055ec7913856.tar.gz
7139 Sync mDNS with mDNSResponder-625.41.2
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h')
-rw-r--r--usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h b/usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h
index 8bf4e5ada8..7bd783c568 100644
--- a/usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h
+++ b/usr/src/cmd/cmd-inet/usr.lib/mdnsd/mDNSDebug.h
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 4 -*-
*
- * Copyright (c) 2002-2003 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2002-2015 Apple Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -148,12 +148,18 @@ extern void LogMsgWithLevel(mDNSLogLevel_t logLevel, const char *format, ...) IS
// (or completely overhauled to use the new "log to a separate file" facility)
#define LogMsgNoIdent LogMsg
+#if APPLE_OSX_mDNSResponder
+extern void LogFatalError(const char *format, ...);
+#else
+#define LogFatalError LogMsg
+#endif
+
#if APPLE_OSX_mDNSResponder && MACOSX_MDNS_MALLOC_DEBUGGING >= 1
extern void *mallocL(char *msg, unsigned int size);
extern void freeL(char *msg, void *x);
-extern void LogMemCorruption(const char *format, ...);
extern void uds_validatelists(void);
extern void udns_validatelists(void *const v);
+extern void LogMemCorruption(const char *format, ...);
#else
#define mallocL(X,Y) malloc(Y)
#define freeL(X,Y) free(Y)