Index: trunk/psLib/src/sys/psTrace.h
===================================================================
--- trunk/psLib/src/sys/psTrace.h	(revision 8404)
+++ trunk/psLib/src/sys/psTrace.h	(revision 8627)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-08-17 01:39:03 $
+ *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-08-26 04:34:28 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -89,5 +89,6 @@
 );
 
-#else
+#else // DOXYGEN
+#ifdef __GNUC__
 /// Send a trace message
 void p_psTrace(
@@ -99,6 +100,16 @@
     const char *format,                ///< printf-style format command
     ...                                ///< trace message arguments
+) __attribute__((format(printf, 6, 7)));
+#else // __GNUC__
+void p_psTrace(
+    const char* file,                  ///< file name
+    int lineno,                        ///< line number in file
+    const char* func,                  ///< function name
+    const char *facil,                 ///< facilty of interest
+    psS32 level,                       ///< desired trace level
+    const char *format,                ///< printf-style format command
+    ...                                ///< trace message arguments
 );
-
+#endif // __GNUC__
 #ifndef SWIG
 #define psTrace(facil, level, ...) p_psTrace(__FILE__,__LINE__,__func__,facil, level, __VA_ARGS__)
@@ -110,7 +121,5 @@
     va_list ap                         ///< varargs argument list
 );
-
 #endif /* SWIG */
-
 #endif /* DOXYGEN */
 
