diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-07-14 18:02:55 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-07-14 18:02:55 +0200 |
commit | 0e1b3a4b35c4f6798b244c5b82edcf759e9e6806 (patch) | |
tree | 2beb5a0417915271052687c97a3e82b2a90f10dc /embed.fnc | |
parent | 548e9a3a0c4e2b14151b17a2c96eedd7683fcc77 (diff) | |
download | perl-0e1b3a4b35c4f6798b244c5b82edcf759e9e6806.tar.gz |
Make prototypes and declarations for Perl_pad_add_name_{pv,pvn,sv} agree.
cc76b5cc1552a605 added all 3 functions to the API, but declared prototypes
with const U32 flags, whilst the definitions had that parameter non-const.
Some compilers issue warnings about this inconsistency.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2122,13 +2122,13 @@ s |PADOFFSET|pad_alloc_name|NN SV *namesv|U32 flags \ |NULLOK HV *typestash|NULLOK HV *ourstash #endif Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\ - |const U32 flags|NULLOK HV *typestash\ + |U32 flags|NULLOK HV *typestash\ |NULLOK HV *ourstash Apd |PADOFFSET|pad_add_name_pv|NN const char *name\ |const U32 flags|NULLOK HV *typestash\ |NULLOK HV *ourstash Apd |PADOFFSET|pad_add_name_sv|NN SV *name\ - |const U32 flags|NULLOK HV *typestash\ + |U32 flags|NULLOK HV *typestash\ |NULLOK HV *ourstash AMpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype |