]> git.vpit.fr Git - perl/modules/re-engine-Hooks.git/commitdiff
Correct the return value from reh_private_map_store()
authorVincent Pit <vince@profvince.com>
Sun, 23 Sep 2012 21:19:24 +0000 (23:19 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 24 Sep 2012 09:55:05 +0000 (11:55 +0200)
Hooks.xs

index 0320d2abaa9b5e2a42f70c56f826d52a10981f80..6fb127e2045aa33a55e446ff01d3a0e30b950d08 100644 (file)
--- a/Hooks.xs
+++ b/Hooks.xs
@@ -224,7 +224,7 @@ STATIC perl_mutex reh_private_map_mutex;
  REH_UNLOCK(&reh_private_map_mutex);                 \
 } STMT_END
 
-STATIC reh_private *reh_private_map_store(pTHX_ void *ri, reh_private *priv) {
+STATIC void reh_private_map_store(pTHX_ void *ri, reh_private *priv) {
 #define reh_private_map_store(R, P) reh_private_map_store(aTHX_ (R), (P))
  REH_LOCK(&reh_private_map_mutex);
  ptable_private_store(reh_private_map, ri, priv);