freebsd-nq/ntpd/declcond.h
Cy Schubert b5e14a1344 Vendor import ntp 4.2.8.
Reviewed by:	roberto
Security:	VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2
Security:	http://www.kb.cert.org/vuls/id/852879
Security:	CVE-2014-9293
Security	CVE-2014-9294
Security	CVE-2014-9295
Security	CVE-2014-9296
2014-12-20 22:52:39 +00:00

22 lines
793 B
C

/*
* declcond.h - declarations conditionalized for ntpd
*
* The NTP reference implementation distribution includes two distinct
* declcond.h files, one in ntpd/ used only by ntpd, and another in
* include/ used by libntp and utilities. This relies on the source
* file's directory being ahead of include/ in the include search.
*
* The ntpd variant of declcond.h declares "debug" only #ifdef DEBUG,
* as the --disable-debugging version of ntpd should not reference
* "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 */