summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2011-03-09 14:44:25 +1100
committerTony Cook <tony@develop-help.com>2011-03-09 14:44:25 +1100
commit3b9b32c914622129d88bd352d8269d046fa5efe5 (patch)
tree8bb8f152fb382b437f332962872c8b396a132cc9 /ext
parent81e6f6d030e616337aef1f8b0fe4070e559a1c31 (diff)
downloadperl-3b9b32c914622129d88bd352d8269d046fa5efe5.tar.gz
fix C++ build error introducted in f8088870
Diffstat (limited to 'ext')
-rw-r--r--ext/Tie-Hash-NamedCapture/NamedCapture.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Tie-Hash-NamedCapture/NamedCapture.xs b/ext/Tie-Hash-NamedCapture/NamedCapture.xs
index 8a767c5e91..58b7da7e0d 100644
--- a/ext/Tie-Hash-NamedCapture/NamedCapture.xs
+++ b/ext/Tie-Hash-NamedCapture/NamedCapture.xs
@@ -16,7 +16,7 @@
#define EXISTS_ALIAS (RXapif_EXISTS | (2 << EXPECT_SHIFT))
#define SCALAR_ALIAS (RXapif_SCALAR | (1 << EXPECT_SHIFT))
-static
+static void
tie_it(pTHX_ const char name, UV flag, HV *const stash)
{
GV *const gv = gv_fetchpvn(&name, 1, GV_ADDMULTI|GV_NOTQUAL, SVt_PVHV);