fix C++ build error introducted in f8088870
authorTony Cook <tony@develop-help.com>
Wed, 9 Mar 2011 03:44:25 +0000 (14:44 +1100)
committerTony Cook <tony@develop-help.com>
Wed, 9 Mar 2011 03:44:25 +0000 (14:44 +1100)
ext/Tie-Hash-NamedCapture/NamedCapture.xs

index 8a767c5..58b7da7 100644 (file)
@@ -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);