diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-09-07 11:20:07 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-09-07 11:20:07 +0300 |
commit | 3e6d6928bdb9d823cdd54512990e6951f377713a (patch) | |
tree | 6bcdaff89654e3ec8d3121a6d12c9188a0f70270 /nt | |
parent | bc8000ff702f2161253c1f5b54313e32619a2a44 (diff) | |
download | emacs-3e6d6928bdb9d823cdd54512990e6951f377713a.tar.gz |
MS-Windows followup for 2012-09-07T01:27:44Z!eggert@cs.ucla.edu, signal-handler cleanup.
src/w32proc.c (sigaction): New function, emulates Posix 'sigaction'.
src/w32.c (sigemptyset): Empty the set.
(sigsetmask, sigmask, sigblock, sigunblock): Remove unused functions.
nt/inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl.
Fixes: debbugs:12327
Diffstat (limited to 'nt')
-rw-r--r-- | nt/ChangeLog | 4 | ||||
-rw-r--r-- | nt/inc/ms-w32.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 6367df7d043..7ec327f3029 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2012-09-07 Eli Zaretskii <eliz@gnu.org> + + * inc/ms-w32.h (struct sigaction): Declare sa_handler __cdecl. + 2012-09-05 Juanma Barranquero <lekktu@gmail.com> * config.nt: Sync with autogen/config.in. diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index a18cf23374c..22255843f13 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h @@ -127,7 +127,7 @@ typedef int ssize_t; struct sigaction { int sa_flags; - void (*sa_handler)(int); + void (_CALLBACK_ *sa_handler)(int); sigset_t sa_mask; }; #define SIG_BLOCK 1 |