summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorRuslan Zakirov <ruz@bestpractical.com>2012-10-20 14:40:13 +0400
committerFather Chrysostomos <sprout@cpan.org>2012-12-11 08:59:42 -0800
commitfb8f4cf83c7112774ede7101826d438234894195 (patch)
tree3d28d7d1df9e78e0b1bc97b624ea105355e6989f /proto.h
parent632b9d6f6a19a87ee168ebb81494b7df13c2eeb0 (diff)
downloadperl-fb8f4cf83c7112774ede7101826d438234894195.tar.gz
hash argument is not used anymore in do_oddball
rename arguments to make more clear what function takes
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/proto.h b/proto.h
index 2875e763c1..7f4942e27d 100644
--- a/proto.h
+++ b/proto.h
@@ -6158,12 +6158,11 @@ STATIC void S_save_lines(pTHX_ AV *array, SV *sv)
#endif
#if defined(PERL_IN_PP_HOT_C)
-STATIC void S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem)
+STATIC void S_do_oddball(pTHX_ SV **oddkey, SV **firstkey)
__attribute__nonnull__(pTHX_1)
- __attribute__nonnull__(pTHX_2)
- __attribute__nonnull__(pTHX_3);
+ __attribute__nonnull__(pTHX_2);
#define PERL_ARGS_ASSERT_DO_ODDBALL \
- assert(hash); assert(relem); assert(firstrelem)
+ assert(oddkey); assert(firstkey)
STATIC SV* S_method_common(pTHX_ SV* meth, U32* hashp)
__attribute__warn_unused_result__