Index: trunk/psLib/src/sys/psTrace.h
===================================================================
--- trunk/psLib/src/sys/psTrace.h	(revision 1081)
+++ trunk/psLib/src/sys/psTrace.h	(revision 1137)
@@ -9,6 +9,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-24 03:12:19 $
+ *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-30 01:09:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -16,6 +16,27 @@
 #if !defined(PS_TRACE_H)
 #define PS_TRACE_H 1
+
 #define UNKNOWN_TRACE_LEVEL -9999         // we don't know this name's level
 #define DEFAULT_TRACE_LEVEL 0
+
+
+/** \addtogroup LogTrace
+ *  \{
+ */
+
+/** Functions **************************************************************/
+
+//#define PS_NO_TRACE 1   ///< to turn off all tracing
+
+#if defined(PS_NO_TRACE)
+#define psTrace(facil, level, ...) (void)0 /* do nothing */
+#define p_psTrace(facil, level, ...)  (void)0 /* do nothing */
+#define psTraceSetLevel(facil,level) 0
+#define psTraceGetLevel(facil) 0
+#define psTraceReset() (void)0 /* do nothing */
+#define psTraceFree() (void)0 /* do nothing */
+#define psTracePrintLevels() (void)0 /* do nothing */
+#define psTraceSetDestination(fp) (void)0 /* do nothing */
+#else
 
 /** Basic structure for the component tree.  A component is a string of the
@@ -31,10 +52,4 @@
 }
 p_psComponent;
-
-/** \addtogroup LogTrace
- *  \{
- */
-
-/** Functions **************************************************************/
 
 #ifndef DOXYGEN
@@ -73,11 +88,5 @@
 /* \} */ // End of SystemGroup Functions
 
-//#define PS_NO_TRACE 1   ///< to turn off all tracing
-
-#if defined(PS_NO_TRACE)
-#  define psTrace(facil, level, ...) /* do nothing */
-#else
-#  define psTrace(facil, level, ...) \
-p_psTrace(facil, level, __VA_ARGS__)
+#define psTrace(facil, level, ...) p_psTrace(facil, level, __VA_ARGS__)
 #endif
 
