Index: trunk/psLib/test/sysUtils/tst_psLogMsg01.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psLogMsg01.c	(revision 560)
+++ trunk/psLib/test/sysUtils/tst_psLogMsg01.c	(revision 584)
@@ -9,8 +9,7 @@
 #include "psTest.h"
 
-main()
+int main()
 {
     int i = 0;
-    int lev = 0;
     int testStatus = true;
 
@@ -34,4 +33,4 @@
                 "psSetLogLevel()",
                 testStatus);
-    exit(!testStatus);
+    return(!testStatus);
 }
