Index: trunk/psLib/test/sysUtils/tst_psHash00.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psHash00.c	(revision 560)
+++ trunk/psLib/test/sysUtils/tst_psHash00.c	(revision 584)
@@ -7,5 +7,5 @@
 #include "psHash.h"
 #define NUM_HASH_TABLE_BUCKETS 10
-main()
+int main()
 {
     psHash *myHashTable = NULL;
@@ -26,5 +26,5 @@
     if (myHashTable->nbucket != NUM_HASH_TABLE_BUCKETS) {
         fprintf(stderr, "%s: myHashTable->nbucket not set properly.\n",
-                __func__, i);
+                __func__);
         testStatus = false;
 
@@ -33,5 +33,5 @@
     if (myHashTable->buckets == NULL) {
         fprintf(stderr, "%s: myHashTable->buckets is NULL.\n",
-                __func__, i);
+                __func__);
         testStatus = false;
 
@@ -51,4 +51,4 @@
                 testStatus);
 
-    exit(!testStatus);
+    return (!testStatus);
 }
