From 7bfe78603e8f53f224bef825c7d5dd321ca3e781 Mon Sep 17 00:00:00 2001 From: Daeho Ro <40587651+daeho-ro@users.noreply.github.com> Date: Wed, 29 Jul 2026 16:30:28 +0900 Subject: [PATCH] Comment out the last remaining call to log_to_syslog() Its definition in common.c and its declaration in common.h are commented out, but the call in the libdaemon daemonise path was left behind, so building with --with-libdaemon fails: clang reports "use of undeclared identifier 'log_to_syslog'" and gcc fails to link with "undefined reference to `log_to_syslog'". --- shairport.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shairport.c b/shairport.c index 3c3b0ab5..d64538dd 100644 --- a/shairport.c +++ b/shairport.c @@ -2627,8 +2627,10 @@ int main(int argc, char **argv) { } else { /* pid == 0 means we are the daemon */ this_is_the_daemon_process = 1; +/* if (log_to_default != 0) // if a specific logging mode has not been selected log_to_syslog(); // automatically send logs to the daemon_log +*/ /* Close FDs */ if (daemon_close_all(-1) < 0) {