]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - sail/machdep.h
avoid duplicating symbols in libterminfo.
[bsdgames-darwin.git] / sail / machdep.h
index e5d0b3dbd1e00c22adb9a6e089ab10808fcc77e9..63e64ff6927bbb11eb02a193282e303f9bb985b1 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.h,v 1.5 2003/08/07 09:37:43 agc Exp $  */
+/*     $NetBSD: machdep.h,v 1.6 2008/01/28 01:58:01 dholland Exp $     */
 
 /*
  * Copyright (c) 1983, 1993
 /* for POSIX systems */
 #define        blockalarm() \
        do {                                                            \
-               sigset_t sigset;                                        \
-               sigemptyset(&sigset);                                   \
-               sigaddset(&sigset, SIGALRM);                            \
-               sigprocmask(SIG_BLOCK, &sigset, (sigset_t *)0);         \
+               sigset_t set;                                           \
+               sigemptyset(&set);                                      \
+               sigaddset(&set, SIGALRM);                               \
+               sigprocmask(SIG_BLOCK, &set, (sigset_t *)0);            \
        } while (0)
 #define        unblockalarm() \
        do {                                                            \
-               sigset_t sigset;                                        \
-               sigemptyset(&sigset);                                   \
-               sigaddset(&sigset, SIGALRM);                            \
-               sigprocmask(SIG_UNBLOCK, &sigset, (sigset_t *)0);       \
+               sigset_t set;                                           \
+               sigemptyset(&set);                                      \
+               sigaddset(&set, SIGALRM);                               \
+               sigprocmask(SIG_UNBLOCK, &set, (sigset_t *)0);          \
        } while (0)