--- np2/x11/trace.h 2003/10/16 17:59:41 1.1 +++ np2/x11/trace.h 2004/01/13 16:29:11 1.3 @@ -1,10 +1,14 @@ +#ifndef NP2_X11_TRACE_H__ +#define NP2_X11_TRACE_H__ #ifndef TRACE #define TRACEINIT() #define TRACETERM() #define TRACEOUT(a) -#define VERBOSE(a) +#ifndef VERBOSE +#define VERBOSE(s) +#endif #else @@ -19,7 +23,9 @@ void trace_fmt(const char *str, ...); #define TRACEINIT() trace_init() #define TRACETERM() trace_term() #define TRACEOUT(arg) trace_fmt arg +#ifndef VERBOSE #define VERBOSE(arg) trace_fmt arg +#endif #ifdef __cplusplus }; @@ -27,3 +33,4 @@ void trace_fmt(const char *str, ...); #endif +#endif /* NP2_X11_TRACE_H__ */