diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-16 09:06:26 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-16 09:06:26 +0000 |
commit | eb0d8d164d5cb9454deba917ad0f286e2bdca2ab (patch) | |
tree | 8801808032702e2a82da3cd54ecd7be6ddc20295 /proto.h | |
parent | 3088bf268afeb12cc877219dfb8affa77c98e706 (diff) | |
download | perl-eb0d8d164d5cb9454deba917ad0f286e2bdca2ab.tar.gz |
Pass in explicit lengths for the key and type arguments to
S_new_constant() in toke.c, as we know all the lengths already.
Brought to you by the Campaign for the Elimination of strlen().
p4raw-id: //depot/perl@32111
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4128,9 +4128,9 @@ STATIC char * S_tokenize_use(pTHX_ int is_use, char *s) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_2); -STATIC SV* S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, SV *sv, SV *pv, const char *type) +STATIC SV* S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, STRLEN keylen, SV *sv, SV *pv, const char *type, STRLEN typelen) __attribute__nonnull__(pTHX_3) - __attribute__nonnull__(pTHX_4); + __attribute__nonnull__(pTHX_5); STATIC int S_ao(pTHX_ int toketype); STATIC const char* S_incl_perldb(pTHX); |