diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-08 13:23:16 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-08 13:23:16 +0000 |
commit | f25172013443eb112285f24a09b83900edb8a738 (patch) | |
tree | 678f9789da4edbccaa4836270985332e36f7f449 /proto.h | |
parent | 651b9576cc8d7812bbcba060854ec8a56f698aae (diff) | |
download | perl-f25172013443eb112285f24a09b83900edb8a738.tar.gz |
make safesysmalloc() etc., always available; safemalloc() et al are
now macros that point to the right malloc; fix various places in
sources that need to always use safesysmalloc() et al
p4raw-id: //depot/perl@2834
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -677,12 +677,10 @@ VIRTUAL int yylex _((PERL_YYLEX_PARAM_DECL)); VIRTUAL int yyparse _((void)); VIRTUAL int yywarn _((char* s)); -#ifndef MYMALLOC -VIRTUAL Malloc_t safemalloc _((MEM_SIZE nbytes)); -VIRTUAL Malloc_t safecalloc _((MEM_SIZE elements, MEM_SIZE size)); -VIRTUAL Malloc_t saferealloc _((Malloc_t where, MEM_SIZE nbytes)); -VIRTUAL Free_t safefree _((Malloc_t where)); -#endif +VIRTUAL Malloc_t safesysmalloc _((MEM_SIZE nbytes)); +VIRTUAL Malloc_t safesyscalloc _((MEM_SIZE elements, MEM_SIZE size)); +VIRTUAL Malloc_t safesysrealloc _((Malloc_t where, MEM_SIZE nbytes)); +VIRTUAL Free_t safesysfree _((Malloc_t where)); #ifdef LEAKTEST VIRTUAL Malloc_t safexmalloc _((I32 x, MEM_SIZE size)); |