diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-08-19 00:44:34 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-08-19 00:44:34 +0000 |
commit | 4521c7914c9458406ab869e3d05e04c7de0567d5 (patch) | |
tree | e2d0c291c4b0658647c734e1ae04a33ed4e07709 /proto.h | |
parent | 76c323317ad9a796473522e3835ea0540e094a92 (diff) | |
download | perl-4521c7914c9458406ab869e3d05e04c7de0567d5.tar.gz |
Fix safe*alloc and safefree prototypes.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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)); |