1*2b15cb3dSCy Schubert /* 2*2b15cb3dSCy Schubert * declcond.h - declarations conditionalized for ntpd 3*2b15cb3dSCy Schubert * 4*2b15cb3dSCy Schubert * The NTP reference implementation distribution includes two distinct 5*2b15cb3dSCy Schubert * declcond.h files, one in ntpd/ used only by ntpd, and another in 6*2b15cb3dSCy Schubert * include/ used by libntp and utilities. This relies on the source 7*2b15cb3dSCy Schubert * file's directory being ahead of include/ in the include search. 8*2b15cb3dSCy Schubert * 9*2b15cb3dSCy Schubert * The ntpd variant of declcond.h declares "debug" only #ifdef DEBUG, 10*2b15cb3dSCy Schubert * as the --disable-debugging version of ntpd should not reference 11*2b15cb3dSCy Schubert * "debug". The libntp and utilities variant always declares debug, 12*2b15cb3dSCy Schubert * as it is used in those codebases even without DEBUG defined. 13*2b15cb3dSCy Schubert */ 14*2b15cb3dSCy Schubert #ifndef DECLCOND_H 15*2b15cb3dSCy Schubert #define DECLCOND_H 16*2b15cb3dSCy Schubert 17*2b15cb3dSCy Schubert #ifdef DEBUG /* uncommented in ntpd/declcond.h */ 18*2b15cb3dSCy Schubert extern int debug; 19*2b15cb3dSCy Schubert #endif /* uncommented in ntpd/declcond.h */ 20*2b15cb3dSCy Schubert 21*2b15cb3dSCy Schubert #endif /* DECLCOND_H */ 22