bk: 4d72e246kVwV3jhvaZucF1sKhypFkA
* Use TRACE() instead of DPRINTF() for libntp and utilities, which
use the "debug" variable regardless of #ifdef DEBUG.
+* Declare debug in libntp instead of each program. Expose extern
+ declaration to utilities, libntp, and DEBUG ntpd.
(4.2.7p136) 2011/03/02 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 1839] 4.2.7p135 still installs libevent ev*.h headers.
(4.2.7p135) 2011/03/02 Released by Harlan Stenn <stenn@ntp.org>
* "debug". The libntp and utilities variant always declares debug,
* as it is used in those codebases even without DEBUG defined.
*/
+#ifndef DECLCOND_H
+#define DECLCOND_H
/* #ifdef DEBUG */ /* uncommented in ntpd/declcond.h */
extern int debug;
/* #endif */ /* uncommented in ntpd/declcond.h */
+
+#endif /* DECLCOND_H */
* "debug". The libntp and utilities variant always declares debug,
* as it is used in those codebases even without DEBUG defined.
*/
+#ifndef DECLCOND_H
+#define DECLCOND_H
#ifdef DEBUG /* uncommented in ntpd/declcond.h */
extern int debug;
#endif /* uncommented in ntpd/declcond.h */
+
+#endif /* DECLCOND_H */