[ntpsec commit] Break noisily if <syslog.h> doesn't define LOG_DAEMON...

Eric S. Raymond esr at ntpsec.org
Fri Oct 2 11:02:23 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    8fab89435f9b38161b3d5258c9d82aeb2f6a2375
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=8fab89435f9b38161b3d5258c9d82aeb2f6a2375

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Fri Oct  2 06:00:54 2015 -0400

Break noisily if <syslog.h> doesn't define LOG_DAEMON...

...because if that ever happens it certainly indicates a deeper problem.

---

 sntp/log.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sntp/log.h b/sntp/log.h
index 2cfaca0..4131f29 100644
--- a/sntp/log.h
+++ b/sntp/log.h
@@ -13,9 +13,6 @@
 #ifdef LOG_NTP
 # define OPENLOG_FAC	LOG_NTP
 #else
-# ifndef LOG_DAEMON
-#  define LOG_DAEMON	0
-# endif
 # define OPENLOG_FAC	LOG_DAEMON
 #endif
 



More information about the vc mailing list