From: Vincent Pit Date: Sun, 23 Sep 2012 21:19:24 +0000 (+0200) Subject: Correct the return value from reh_private_map_store() X-Git-Tag: v0.03~4 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Hooks.git;a=commitdiff_plain;h=b9ea55a3bbc0e8d6035c10f06d2ec6a9e18b0462 Correct the return value from reh_private_map_store() --- diff --git a/Hooks.xs b/Hooks.xs index 0320d2a..6fb127e 100644 --- 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);