summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-26 00:27:57 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-26 00:27:57 +0000
commitc31fac668b253062b943c71d3452e678b6f02609 (patch)
treebf9ee12ba220ede3aadb62c3004f00f0cedf9962 /proto.h
parent769c30bc4bb5d7abeb7306e297a4071100a0e741 (diff)
downloadperl-c31fac668b253062b943c71d3452e678b6f02609.tar.gz
[win32] Various changes to make it build cleanly and pass all tests:
- needed to run `perl embed.pl` - use PERL_CORE instead of PERLDLL in places that do mean PERL_CORE - fix prototypes for a few declarations (Borland is finally quiet) - move declaration of Mymalloc etc to perl.h (since win32 and other ports may #define malloc themselves, to let extensions bind to the version that perl used) - move struct reg_data into a public header file, since it is referenced in a public datatype - win32 makefile fixes - fix remaining s/thread/perl_thread/ p4raw-id: //depot/win32/perl@304
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/proto.h b/proto.h
index 202331be98..7b47a93099 100644
--- a/proto.h
+++ b/proto.h
@@ -568,13 +568,6 @@ int yylex _((void));
int yyparse _((void));
int yywarn _((char* s));
-#if defined(MYMALLOC) || !defined(STANDARD_C)
-Malloc_t malloc _((MEM_SIZE nbytes));
-Malloc_t calloc _((MEM_SIZE elements, MEM_SIZE size));
-Malloc_t realloc _((Malloc_t where, MEM_SIZE nbytes));
-Free_t free _((Malloc_t where));
-#endif
-
#ifndef MYMALLOC
Malloc_t safemalloc _((MEM_SIZE nbytes));
Malloc_t safecalloc _((MEM_SIZE elements, MEM_SIZE size));