This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add missing STATIC to S_finalize_op
authorDavid Mitchell <davem@iabyn.com>
Tue, 11 Oct 2011 10:01:35 +0000 (11:01 +0100)
committerDavid Mitchell <davem@iabyn.com>
Tue, 11 Oct 2011 10:01:35 +0000 (11:01 +0100)
This function was declared static in embed.fnc, but the actual function
definition was missing the 'STATIC'.

op.c

diff --git a/op.c b/op.c
index f54a105..e4e42b4 100644 (file)
--- a/op.c
+++ b/op.c
@@ -1467,7 +1467,7 @@ Perl_finalize_optree(pTHX_ OP* o)
     LEAVE;
 }
 
-void
+STATIC void
 S_finalize_op(pTHX_ OP* o)
 {
     PERL_ARGS_ASSERT_FINALIZE_OP;