X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fos.h;h=8a81971cecf236408baf230a005d6dd2908a7517;hb=3b02a1d15943e7b2c189f1223a63fb2a37dc76bb;hp=924daadea7f9c79e6e253b6d7fb00207186eebaf;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/cfg/os.h b/bertos/cfg/os.h index 924daade..8a81971c 100644 --- a/bertos/cfg/os.h +++ b/bertos/cfg/os.h @@ -34,7 +34,7 @@ * * \version $Id$ * - * \author Bernardo Innocenti + * \author Bernie Innocenti */ #ifndef DEVLIB_OS_H @@ -109,9 +109,9 @@ #define IRQ_ENABLED() \ ({ \ - sigset_t sigs; \ - sigprocmask(SIG_SETMASK, NULL, &sigs); \ - sigismember(&sigs, SIGALRM) ? false : true; \ + sigset_t sigs__; \ + sigprocmask(SIG_SETMASK, NULL, &sigs__); \ + sigismember(&sigs__, SIGALRM) ? false : true; \ }) #else