[Git][NTPsec/ntpsec][master] Move debug from libntp/lib_strbuf.c to libntp/msyslog.c

Hal Murray gitlab at mg.gitlab.com
Tue Apr 2 21:12:34 UTC 2019



Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
8808e1d7 by Hal Murray at 2019-04-02T21:11:36Z
Move debug from libntp/lib_strbuf.c to libntp/msyslog.c
  Might solve MacOS linking problem

- - - - -


2 changed files:

- libntp/lib_strbuf.c
- libntp/msyslog.c


Changes:

=====================================
libntp/lib_strbuf.c
=====================================
@@ -14,8 +14,6 @@
 /*
  * Storage declarations
  */
-int		debug;
-
 static pthread_mutex_t cookie_lock = PTHREAD_MUTEX_INITIALIZER;
 
 /*


=====================================
libntp/msyslog.c
=====================================
@@ -32,6 +32,8 @@ static FILE *	syslog_file;
 static char *	syslog_fname;
 static char *	syslog_abs_fname;
 
+int		debug;
+
 /* libntp default ntp_syslogmask is all bits lit */
 #define INIT_NTP_SYSLOGMASK	~(uint32_t)0
 uint32_t ntp_syslogmask = INIT_NTP_SYSLOGMASK;



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8808e1d75da29adf77c43bcb236fe09e0183dad3

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/8808e1d75da29adf77c43bcb236fe09e0183dad3
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20190402/07f968f9/attachment.html>


More information about the vc mailing list