summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-02-21 19:45:38 +0100
committerNicholas Clark <nick@ccl4.org>2013-02-26 16:00:19 +0100
commitadf6906bf1b434ce6de8a74bee3758cc5bd83b7a (patch)
tree9150d021ef6cc30ff3251184cf20485ac0d3a04e /proto.h
parent0df056163a5c186d5ef583804a92195aeb095201 (diff)
downloadperl-adf6906bf1b434ce6de8a74bee3758cc5bd83b7a.tar.gz
Pass the current and desired hash sizes to S_hsplit().
Whilst this is slightly more work for its existing two callers, it will permit Perl_hv_ksplit() to also call it. Use STRLEN for the parameters, and change a local variable from I32 to STRLEN to match.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 18f46cca29..9192960396 100644
--- a/proto.h
+++ b/proto.h
@@ -5701,7 +5701,7 @@ STATIC void S_hfreeentries(pTHX_ HV *hv)
#define PERL_ARGS_ASSERT_HFREEENTRIES \
assert(hv)
-STATIC void S_hsplit(pTHX_ HV *hv)
+STATIC void S_hsplit(pTHX_ HV *hv, STRLEN const oldsize, STRLEN newsize)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_HSPLIT \
assert(hv)