This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix -Uusedl builds
authorTony Cook <tony@develop-help.com>
Sun, 8 Jul 2012 03:00:42 +0000 (13:00 +1000)
committerTony Cook <tony@develop-help.com>
Sun, 8 Jul 2012 03:00:42 +0000 (13:00 +1000)
without the "static" linking produced a duplicate symbol error on
S_compile_runtime_code

regcomp.c

index cfed452..8889ef1 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -5025,7 +5025,7 @@ S_has_runtime_code(pTHX_ RExC_state_t * const pRExC_state, OP *expr,
  * the original pattern needs upgrading to utf8.
  */
 
-bool
+static bool
 S_compile_runtime_code(pTHX_ RExC_state_t * const pRExC_state,
     char *pat, STRLEN plen)
 {