aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-26 19:32:40 -0700
committerPaul Eggert2011-03-26 19:32:40 -0700
commit4a843dd730dc1d209fb759136460dc411b299616 (patch)
tree6270452d0e918d57b080d53e5417d602aea96e59 /lib-src
parentffa8c828c6c76d3c246443a6752f1038eab60413 (diff)
parent9af30bdf17f8371664bc0c5854c91c2e46257b5e (diff)
downloademacs-4a843dd730dc1d209fb759136460dc411b299616.tar.gz
emacs-4a843dd730dc1d209fb759136460dc411b299616.zip
Merge from mainline.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/emacsclient.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 672fe8c8541..f594efa588c 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12011-03-27 Glenn Morris <rgm@gnu.org>
2
3 * emacsclient.c: Replace SIGTYPE with void.
4
12011-03-23 Juanma Barranquero <lekktu@gmail.com> 52011-03-23 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * ntlib.c: Include <ctype.h>. 7 * ntlib.c: Include <ctype.h>.
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index abc9aee37c1..737a8d88586 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1116,7 +1116,7 @@ socket_status (char *name)
1116/* A signal handler that passes the signal to the Emacs process. 1116/* A signal handler that passes the signal to the Emacs process.
1117 Useful for SIGWINCH. */ 1117 Useful for SIGWINCH. */
1118 1118
1119static SIGTYPE 1119static void
1120pass_signal_to_emacs (int signalnum) 1120pass_signal_to_emacs (int signalnum)
1121{ 1121{
1122 int old_errno = errno; 1122 int old_errno = errno;
@@ -1131,7 +1131,7 @@ pass_signal_to_emacs (int signalnum)
1131/* Signal handler for SIGCONT; notify the Emacs process that it can 1131/* Signal handler for SIGCONT; notify the Emacs process that it can
1132 now resume our tty frame. */ 1132 now resume our tty frame. */
1133 1133
1134static SIGTYPE 1134static void
1135handle_sigcont (int signalnum) 1135handle_sigcont (int signalnum)
1136{ 1136{
1137 int old_errno = errno; 1137 int old_errno = errno;
@@ -1157,7 +1157,7 @@ handle_sigcont (int signalnum)
1157 reality, we may get a SIGTSTP on C-z. Handling this signal and 1157 reality, we may get a SIGTSTP on C-z. Handling this signal and
1158 notifying Emacs about it should get things under control again. */ 1158 notifying Emacs about it should get things under control again. */
1159 1159
1160static SIGTYPE 1160static void
1161handle_sigtstp (int signalnum) 1161handle_sigtstp (int signalnum)
1162{ 1162{
1163 int old_errno = errno; 1163 int old_errno = errno;