summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-19 00:44:34 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-19 00:44:34 +0000
commit4521c7914c9458406ab869e3d05e04c7de0567d5 (patch)
treee2d0c291c4b0658647c734e1ae04a33ed4e07709
parent76c323317ad9a796473522e3835ea0540e094a92 (diff)
downloadperl-4521c7914c9458406ab869e3d05e04c7de0567d5.tar.gz
Fix safe*alloc and safefree prototypes.
-rw-r--r--proto.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/proto.h b/proto.h
index bd8d5f4fbb..92e51f6bef 100644
--- a/proto.h
+++ b/proto.h
@@ -351,20 +351,20 @@ void repeatcpy _((char* to, char* from, I32 len, I32 count));
char* rninstr _((char* big, char* bigend, char* little, char* lend));
int runops _((void));
#ifndef safemalloc
-void safefree _((char* where));
-char* safemalloc _((MEM_SIZE size));
+void safefree _((Malloc_t where));
+Malloc_t safemalloc _((MEM_SIZE size));
#ifndef MSDOS
-char* saferealloc _((char* where, MEM_SIZE size));
+Malloc_t saferealloc _((Malloc_t where, MEM_SIZE size));
#else
-char* saferealloc _((char* where, unsigned long size));
+Malloc_t saferealloc _((Malloc_t where, unsigned long size));
#endif
-char* safecalloc _((MEM_SIZE cnt, MEM_SIZE size));
+Malloc_t safecalloc _((MEM_SIZE cnt, MEM_SIZE size));
#endif
#ifdef LEAKTEST
-void safexfree _((char* where));
-char* safexmalloc _((I32 x, MEM_SIZE size));
-char* safexrealloc _((char* where, MEM_SIZE size));
-char* safexcalloc _((I32 x, MEM_SIZE size, MEM_SIZE size));
+void safexfree _((Malloc_t where));
+Malloc_t safexmalloc _((I32 x, MEM_SIZE size));
+Malloc_t safexrealloc _((Malloc_t where, MEM_SIZE size));
+Malloc_t safexcalloc _((I32 x, MEM_SIZE size, MEM_SIZE size));
#endif
#ifndef HAS_RENAME
I32 same_dirent _((char* a, char* b));