Index: trunk/psLib/src/sys/psLogMsg.h
===================================================================
--- trunk/psLib/src/sys/psLogMsg.h	(revision 7587)
+++ trunk/psLib/src/sys/psLogMsg.h	(revision 8627)
@@ -11,6 +11,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-16 23:01:10 $
+ *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-08-26 04:34:28 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -90,4 +90,12 @@
  *
  */
+#ifdef __GNUC__
+void psLogMsg(
+    const char *name,                  ///< name of the log source
+    int level,                         ///< severity level of this log message
+    const char *format,                ///< printf-style format command
+    ...
+) __attribute__((format(printf, 3, 4)));
+#else // __GNUC__
 void psLogMsg(
     const char *name,                  ///< name of the log source
@@ -96,4 +104,5 @@
     ...
 );
+#endif // __GNUC__
 
 #ifndef SWIG
