Index: trunk/psLib/src/sys/psTrace.h
===================================================================
--- trunk/psLib/src/sys/psTrace.h	(revision 1393)
+++ trunk/psLib/src/sys/psTrace.h	(revision 1407)
@@ -1,2 +1,3 @@
+
 /** @file psTrace.h
  *  \brief basic run-time trace facilities
@@ -9,15 +10,14 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-05 19:38:52 $
+ *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-07 00:06:06 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  */
 #if !defined(PS_TRACE_H)
-#define PS_TRACE_H 1
+#    define PS_TRACE_H 1
 
-#define PS_UNKNOWN_TRACE_LEVEL -9999         // we don't know this name's level
-#define PS_DEFAULT_TRACE_LEVEL 0
-
+#    define PS_UNKNOWN_TRACE_LEVEL -9999   // we don't know this name's level
+#    define PS_DEFAULT_TRACE_LEVEL 0
 
 /** \addtogroup LogTrace
@@ -29,66 +29,65 @@
 //#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
+#    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
-    form aaa.bbb.ccc, and may itself contain further subcomponents.  The
-    Component structure doesn't in fact contain it's full name, but only the
-    last part. */
-typedef struct p_psComponent
-{
-    const char *name;                     // last part of name of component
-    int level;                            // trace level for this component
-    int n;                                // number of subcomponents
-    struct p_psComponent **subcomp;           // next level of subcomponents
-}
+        /** Basic structure for the component tree.  A component is a string of the
+            form aaa.bbb.ccc, and may itself contain further subcomponents.  The
+            Component structure doesn't in fact contain it's full name, but only the
+            last part. */
+        typedef struct p_psComponent
+        {
+            const char *name;           // last part of name of component
+            int level;                  // trace level for this component
+            int n;                      // number of subcomponents
+            struct p_psComponent **subcomp;     // next level of subcomponents
+        }
 p_psComponent;
 
-#ifndef DOXYGEN
+#        ifndef DOXYGEN
 /// Send a trace message
-void p_psTrace(const char *facil,  ///< facilty of interest
-               int myLevel,  ///< desired trace level
-               ...)   ///< trace message arguments
+void p_psTrace(const char *facil,       // /< facilty of interest
+               int myLevel,     // /< desired trace level
+               ...)             // /< trace message arguments
 ;
-#endif
+#        endif
 
 /// Set trace level
-int psTraceSetLevel(const char *facil, ///< facilty of interest
-                    int level)  ///< desired trace level
+int psTraceSetLevel(const char *facil,     // /< facilty of interest
+                    int level)     // /< desired trace level
 ;
 
 /// Get the trace level
-int psTraceGetLevel(const char *facil) ///< facilty of interest
+int psTraceGetLevel(const char *facil)     // /< facilty of interest
 ;
 
 /// Set all trace levels to zero (do not free nodes in the component tree).
-void psTraceReset()
-;
+void psTraceReset();
 
 /// Free all nodes in the component tree.
-void psTraceFree()
-;
+void psTraceFree();
 
 /// print trace levels
-void psTracePrintLevels(void)
-;
+void psTracePrintLevels(void);
 
 /// Set the destination of future trace messages.
-void psTraceSetDestination(FILE *fp);
+void psTraceSetDestination(FILE * fp);
 
+/* \} */// End of SystemGroup Functions
 
-/* \} */ // End of SystemGroup Functions
-
-#define psTrace(facil, level, ...) p_psTrace(facil, level, __VA_ARGS__)
-#endif
+#        define psTrace(facil, level, ...) p_psTrace(facil, level, __VA_ARGS__)
+#    endif
 
 #endif
-
