Index: trunk/psLib/src/collections/psArray.c
===================================================================
--- trunk/psLib/src/collections/psArray.c	(revision 3682)
+++ trunk/psLib/src/collections/psArray.c	(revision 4307)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-07 20:27:41 $
+ *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-17 23:39:51 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -109,10 +109,10 @@
 }
 
-psBool psArrayRemove(psArray* psArr,
-                     psPtr data)
-{
-    psBool success = false;
-
-    if (psArr == NULL) {
+bool psArrayRemove(psArray* array,
+                   const psPtr data)
+{
+    bool success = false;
+
+    if (array == NULL) {
         psError(PS_ERR_BAD_PARAMETER_NULL, true,
                 PS_ERRORTEXT_psArray_ARRAY_NULL);
@@ -120,14 +120,14 @@
     }
 
-    psS32 n = psArr->n;
-    psPtr* psArrData = psArr->data;
+    psS32 n = array->n;
+    psPtr* psArrData = array->data;
     for (psS32 i = n-1; i >= 0; i--) {
         if (psArrData[i] == data) {
-            memmove(&psArr->data[i],&psArr->data[i+1],(n-i-1)*sizeof(psPtr));
+            memmove(&array->data[i],&array->data[i+1],(n-i-1)*sizeof(psPtr));
             n--;
             success = true;
         }
     }
-    psArr->n = n; // reset the array size to indicate the removed item(s)
+    array->n = n; // reset the array size to indicate the removed item(s)
 
     return success;
