diff options
author | Karl Williamson <khw@cpan.org> | 2016-12-22 18:36:33 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-12-23 11:41:32 -0700 |
commit | 7527883f8c7b71d808abdbd3cff07f61280a42b5 (patch) | |
tree | 694c3976bef21e679b5441b53bcf89e9af7c95a8 | |
parent | 10085f4d25c1ff267f8ba5b37f225245a73a7c66 (diff) | |
download | perl-7527883f8c7b71d808abdbd3cff07f61280a42b5.tar.gz |
Silence win32 compiler warning
The function's parameter was not declared const in embed.fnc, but was in
the function itself.
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -529,7 +529,7 @@ i |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \ |NULLOK SV* const_meth : FIXME -s |OP* |fold_constants |NN OP *o +s |OP* |fold_constants |NN OP * const o #endif Afpd |char* |form |NN const char* pat|... Ap |char* |vform |NN const char* pat|NULLOK va_list* args @@ -4541,7 +4541,7 @@ STATIC void S_finalize_op(pTHX_ OP* o); STATIC void S_find_and_forget_pmops(pTHX_ OP *o); #define PERL_ARGS_ASSERT_FIND_AND_FORGET_PMOPS \ assert(o) -STATIC OP* S_fold_constants(pTHX_ OP *o); +STATIC OP* S_fold_constants(pTHX_ OP * const o); #define PERL_ARGS_ASSERT_FOLD_CONSTANTS \ assert(o) STATIC OP* S_force_list(pTHX_ OP* arg, bool nullit); |