summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2004-05-02 16:05:19 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2004-05-02 16:05:19 +0000
commite7e07c420bbbf3981074e8fbec0c33ec7e63ea03 (patch)
treeb2eb5baa54772b5f815231c089d279078f656826
parenta7f547923db7215dccff8be293d9743bf84f4b6f (diff)
downloademacs-e7e07c420bbbf3981074e8fbec0c33ec7e63ea03.tar.gz
(init_signals): Move decl outside `#ifdef POSIX_SIGNALS'.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/syssignal.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c63ca8ea6a7..7848111557a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2004-05-02 Thien-Thi Nguyen <ttn@gnu.org>
+ * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'.
+
+2004-05-02 Thien-Thi Nguyen <ttn@gnu.org>
+
* tparam.c (tparam1): Add handling for `%pN', which
means use param N for the next substitution.
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 <signal.h>. 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