diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-01 12:32:23 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-01 12:32:23 +0000 |
commit | 9b2c10f1c598e1e6a0db9d0b301c9559b079b129 (patch) | |
tree | 44b2d5a8f6411c727c9f58cf54cd32b88b4e71e9 /proto.h | |
parent | ea29714e578a05a971320d0bfb31ab662847862a (diff) | |
download | perl-9b2c10f1c598e1e6a0db9d0b301c9559b079b129.tar.gz |
Inconsistencies in paramter const-ness noticed by SADAHIRO Tomoyuki.
p4raw-id: //depot/perl@27657
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -727,7 +727,7 @@ PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_dup(pTHX_ const struct r #endif PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c); PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he); -PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new(pTHX_ struct refcounted_he *parent, SV *key, SV *value); +PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *key, SV *value); PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash); PERL_CALLCONV HE* Perl_hv_store_ent(pTHX_ HV* tb, SV* key, SV* val, U32 hash); PERL_CALLCONV SV** Perl_hv_store_flags(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash, int flags); @@ -3733,7 +3733,7 @@ STATIC STRLEN S_sv_pos_u2b_forwards(pTHX_ const U8 *const start, const U8 *const __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); -STATIC STRLEN S_sv_pos_u2b_midway(pTHX_ const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uend) +STATIC STRLEN S_sv_pos_u2b_midway(pTHX_ const U8 *const start, const U8 *send, STRLEN uoffset, STRLEN uend) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); |