From: Vincent Pit Date: Tue, 31 Mar 2015 17:25:53 +0000 (-0300) Subject: Add a couple of missing volatile qualifiers X-Git-Tag: rt100068~4 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=b5c134ab71c3f931cc2c9b55eb69b44ced87e46e;p=perl%2Fmodules%2Findirect.git Add a couple of missing volatile qualifiers --- diff --git a/indirect.xs b/indirect.xs index 40aebea..fd742eb 100644 --- a/indirect.xs +++ b/indirect.xs @@ -468,7 +468,7 @@ static SV *indirect_detag(pTHX_ const SV *hint) { return I_HINT_CODE(h); } -static U32 indirect_hash = 0; +static VOL U32 indirect_hash = 0; static SV *indirect_hint(pTHX) { #define indirect_hint() indirect_hint(aTHX) @@ -935,7 +935,7 @@ done: /* --- Global setup/teardown ------------------------------------------------ */ -static U32 indirect_initialized = 0; +static VOL U32 indirect_initialized = 0; static void indirect_global_teardown(pTHX_ void *root) { if (!indirect_initialized)