1275970Scy/*
2275970Scy * declcond.h - declarations conditionalized for ntpd
3275970Scy *
4275970Scy * The NTP reference implementation distribution includes two distinct
5275970Scy * declcond.h files, one in ntpd/ used only by ntpd, and another in
6275970Scy * include/ used by libntp and utilities.  This relies on the source
7275970Scy * file's directory being ahead of include/ in the include search.
8275970Scy *
9275970Scy * The ntpd variant of declcond.h declares "debug" only #ifdef DEBUG,
10275970Scy * as the --disable-debugging version of ntpd should not reference
11275970Scy * "debug".  The libntp and utilities variant always declares debug,
12275970Scy * as it is used in those codebases even without DEBUG defined.
13275970Scy */
14275970Scy#ifndef DECLCOND_H
15275970Scy#define DECLCOND_H
16275970Scy
17275970Scy#ifdef DEBUG			/* uncommented in ntpd/declcond.h */
18275970Scyextern int debug;
19275970Scy#endif				/* uncommented in ntpd/declcond.h */
20275970Scy
21275970Scy#endif	/* DECLCOND_H */
22