summaryrefslogtreecommitdiff
path: root/hv.c
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 /hv.c
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 'hv.c')
-rw-r--r--hv.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/hv.c b/hv.c
index e495e91769..12c17483fd 100644
--- a/hv.c
+++ b/hv.c
@@ -16,8 +16,8 @@
static void hsplit _((HV *hv));
static void hfreeentries _((HV *hv));
-
-static HE* more_he(void);
+static void hv_magic_check _((HV *hv, bool *needs_copy, bool *needs_store));
+static HE* more_he _((void));
static HE*
new_he(void)
@@ -217,10 +217,7 @@ hv_fetch_ent(HV *hv, SV *keysv, I32 lval, register U32 hash)
}
static void
-hv_magic_check (hv, needs_copy, needs_store)
-HV *hv;
-bool *needs_copy;
-bool *needs_store;
+hv_magic_check (HV *hv, bool *needs_copy, bool *needs_store)
{
MAGIC *mg = SvMAGIC(hv);
*needs_copy = FALSE;