From 5045babc19f99483b7fa03c329b25d8bf482f107 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sun, 2 May 2004 16:07:15 +0000 Subject: [PATCH] (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. --- src/ChangeLog | 4 ++++ src/syssignal.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2