From: Thien-Thi Nguyen Date: Sun, 2 May 2004 16:07:15 +0000 (+0000) Subject: (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5045babc19f99483b7fa03c329b25d8bf482f107;p=emacs.git (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. --- diff --git a/src/ChangeLog b/src/ChangeLog index 011233fbd66..f9fc60f1bec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-05-02 Thien-Thi Nguyen + + * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. + 2004-05-02 Thien-Thi Nguyen * tparam.c (tparam1): Add handling for `%pN', which diff --git a/src/syssignal.h b/src/syssignal.h index 2ea83b68b90..89dca4db0f4 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -18,6 +18,8 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +extern void init_signals P_ ((void)); + #ifdef POSIX_SIGNALS /* Don't #include . That header should always be #included @@ -31,7 +33,6 @@ Boston, MA 02111-1307, USA. */ #define SIGEMPTYMASK (empty_mask) #define SIGFULLMASK (full_mask) extern sigset_t empty_mask, full_mask; -extern void init_signals P_ ((void)); /* POSIX pretty much destroys any possibility of writing sigmask as a macro in standard C. We always define our own version because the @@ -96,7 +97,7 @@ extern SIGMASKTYPE sigprocmask_set; #ifdef USG #ifndef sigunblock -#define sigunblock(sig) +#define sigunblock(sig) #endif #else