summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2013-08-06 21:09:40 -0500
committerCraig A. Berry <craigberry@mac.com>2013-08-06 21:09:40 -0500
commitdc588da0f1a8372922811ea3486ff170c92dc9a0 (patch)
treee88e97718d87bc81e7d576465faf072b444d7cef /regcomp.c
parente88ca83cb2da96ab9f1ada0aee57def2ba1479ec (diff)
downloadperl-dc588da0f1a8372922811ea3486ff170c92dc9a0.tar.gz
Don't multiply define Perl__invlist_dump.
It doesn't need to be in the extension if it's already in the core top-level code. Defining it more than once leads to linker errors for linkers that care about such things, namely VMS. Broken in ad3f05adb1975.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index 5735ff0c1c..994cd2b7ec 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8293,6 +8293,7 @@ Perl__invlist_contents(pTHX_ SV* const invlist)
}
#endif
+#ifndef PERL_IN_XSUB_RE
void
Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char * const indent, SV* const invlist)
{
@@ -8341,6 +8342,7 @@ Perl__invlist_dump(pTHX_ PerlIO *file, I32 level, const char * const indent, SV*
count += 2;
}
}
+#endif
#ifdef PERL_ARGS_ASSERT__INVLISTEQ
bool