summaryrefslogtreecommitdiffstats
path: root/mDNSResponder/mDNSPosix/PosixDaemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'mDNSResponder/mDNSPosix/PosixDaemon.c')
-rw-r--r--mDNSResponder/mDNSPosix/PosixDaemon.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/mDNSResponder/mDNSPosix/PosixDaemon.c b/mDNSResponder/mDNSPosix/PosixDaemon.c
index 88b3292c..295e8421 100644
--- a/mDNSResponder/mDNSPosix/PosixDaemon.c
+++ b/mDNSResponder/mDNSPosix/PosixDaemon.c
@@ -118,11 +118,11 @@ mDNSlocal void ParseCmdLinArgs(int argc, char **argv)
}
}
-mDNSlocal void DumpStateLog(mDNS *const m)
+mDNSlocal void DumpStateLog()
// Dump a little log of what we've been up to.
{
- LogMsg("---- BEGIN STATE LOG ----");
- udsserver_info(m);
+ LogMsg("---- BEGIN STATE LOG ----");
+ udsserver_info();
LogMsg("---- END STATE LOG ----");
}
@@ -160,7 +160,7 @@ mDNSlocal mStatus MainLoop(mDNS *m) // Loop until we quit.
(void) mDNSPosixRunEventLoopOnce(m, &timeout, &signals, &gotData);
if (sigismember(&signals, SIGHUP )) Reconfigure(m);
- if (sigismember(&signals, SIGUSR1)) DumpStateLog(m);
+ if (sigismember(&signals, SIGUSR1)) DumpStateLog();
// SIGPIPE happens when we try to write to a dead client; death should be detected soon in request_callback() and cleaned up.
if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring");
if (sigismember(&signals, SIGINT) || sigismember(&signals, SIGTERM)) break;
@@ -235,9 +235,8 @@ mStatus udsSupportRemoveFDFromEventLoop(int fd, void *platform_data) // N
return err;
}
-mDNSexport void RecordUpdatedNiceLabel(mDNS *const m, mDNSs32 delay)
+mDNSexport void RecordUpdatedNiceLabel(mDNSs32 delay)
{
- (void)m;
(void)delay;
// No-op, for now
}