Index: trunk/psLib/src/sys/psMemory.c
===================================================================
--- trunk/psLib/src/sys/psMemory.c	(revision 11617)
+++ trunk/psLib/src/sys/psMemory.c	(revision 11672)
@@ -10,6 +10,6 @@
 *  @author Joshua Hoblitt, University of Hawaii
 *
-*  @version $Revision: 1.92 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2007-02-03 05:54:08 $
+*  @version $Revision: 1.93 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2007-02-07 00:36:02 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -109,5 +109,5 @@
  *  Default memExhausted callback.
  */
-static psPtr memExhaustedCallbackDefault(size_t size)
+static void *memExhaustedCallbackDefault(size_t size)
 {
     return NULL;
@@ -403,5 +403,5 @@
  * Actually allocate memory
  */
-psPtr p_psAlloc(size_t size,
+void *p_psAlloc(size_t size,
                 const char *file,
                 unsigned int lineno,
@@ -409,5 +409,5 @@
 {
 
-    psMemBlock *memBlock = malloc(sizeof(psMemBlock) + size + sizeof(psPtr));
+    psMemBlock *memBlock = malloc(sizeof(psMemBlock) + size + sizeof(void *));
     if (memBlock == NULL) {
         MUTEX_LOCK(&memBlockListMutex);
@@ -490,5 +490,5 @@
 }
 
-psPtr p_psRealloc(psPtr ptr,
+void *p_psRealloc(void *ptr,
                   size_t size,
                   const char *file,
@@ -516,5 +516,5 @@
     bool isBlockLast = (memBlock == lastMemBlockAllocated);
 
-    memBlock = (psMemBlock *)realloc(memBlock, sizeof(psMemBlock) + size + sizeof(psPtr));
+    memBlock = (psMemBlock *)realloc(memBlock, sizeof(psMemBlock) + size + sizeof(void *));
     if (memBlock== NULL) {
         MUTEX_LOCK(&memBlockListMutex);
@@ -680,5 +680,5 @@
 
 // return refCounter
-psReferenceCount p_psMemGetRefCounter(const psPtr ptr,
+psReferenceCount p_psMemGetRefCounter(void *ptr,
                                       const char *file,
                                       unsigned int lineno,
@@ -697,5 +697,5 @@
 
 // increment and return refCounter
-psPtr p_psMemIncrRefCounter(const psPtr ptr,
+void *p_psMemIncrRefCounter(void *ptr,
                             const char *file,
                             unsigned int lineno,
@@ -723,8 +723,8 @@
 
 #if 0
-psPtr p_psMemSetRefCounter(psPtr vptr,
-                           psReferenceCount count,
-                           const char *file,
-                           psS32 lineno)
+void * p_psMemSetRefCounter(void * vptr,
+                            psReferenceCount count,
+                            const char *file,
+                            psS32 lineno)
 {
     psMemBlock* ptr;
@@ -756,5 +756,5 @@
 
 // decrement and return refCounter
-psPtr p_psMemDecrRefCounter(psPtr ptr,
+void *p_psMemDecrRefCounter(void * ptr,
                             const char *file,
                             unsigned int lineno,
@@ -823,5 +823,5 @@
 }
 
-void p_psMemSetDeallocator(psPtr ptr,
+void p_psMemSetDeallocator(void *ptr,
                            psFreeFunc freeFunc,
                            const char *file,
@@ -840,5 +840,5 @@
 }
 
-psFreeFunc p_psMemGetDeallocator(const psPtr ptr,
+psFreeFunc p_psMemGetDeallocator(void *ptr,
                                  const char *file,
                                  unsigned int lineno,
@@ -879,5 +879,5 @@
 }
 
-bool p_psMemGetPersistent(psPtr ptr,
+bool p_psMemGetPersistent(void *ptr,
                           const char *file,
                           unsigned int lineno,
@@ -895,5 +895,5 @@
 }
 
-void p_psMemSetPersistent(psPtr ptr,
+void p_psMemSetPersistent(void *ptr,
                           bool value,
                           const char *file,
@@ -924,5 +924,5 @@
                   size_t *persistent) // persistent memory that's currently allocated
 {
-    const size_t overhead = sizeof(psMemBlock) + sizeof(psPtr); // overhead on each allocation
+    const size_t overhead = sizeof(psMemBlock) + sizeof(void *); // overhead on each allocation
 
     if (print) {
