summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-08-26 14:32:22 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-08-26 14:32:22 +0200
commitd503a9ba1b647d7301de5326f3dab5a9176a98a4 (patch)
tree0c787fd4aa98f62b8814010e18a7886497a10547 /proto.h
parent61f1d76ce428c9a39370be9d77a2a7f7dbc91779 (diff)
downloadperl-d503a9ba1b647d7301de5326f3dab5a9176a98a4.tar.gz
Use less constness in MAD code
This suppresses warnings, because sometimes the constness was taken away
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 5fe779ae81..0dc4aab456 100644
--- a/proto.h
+++ b/proto.h
@@ -6510,7 +6510,7 @@ PERL_CALLCONV MADPROP* Perl_newMADsv(pTHX_ char key, SV* sv)
#define PERL_ARGS_ASSERT_NEWMADSV \
assert(sv)
-PERL_CALLCONV MADPROP* Perl_newMADPROP(pTHX_ char key, char type, const void* val, I32 vlen);
+PERL_CALLCONV MADPROP* Perl_newMADPROP(pTHX_ char key, char type, void* val, I32 vlen);
PERL_CALLCONV void Perl_mad_free(pTHX_ MADPROP* mp);
# if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)