aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c
index 639b6a49fce..148f5b59f8a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5470,7 +5470,7 @@ read_process_output (Lisp_Object proc, register int channel)
5470jmp_buf send_process_frame; 5470jmp_buf send_process_frame;
5471Lisp_Object process_sent_to; 5471Lisp_Object process_sent_to;
5472 5472
5473static SIGTYPE 5473static void
5474send_process_trap (int ignore) 5474send_process_trap (int ignore)
5475{ 5475{
5476 SIGNAL_THREAD_CHECK (SIGPIPE); 5476 SIGNAL_THREAD_CHECK (SIGPIPE);
@@ -5497,7 +5497,7 @@ send_process (volatile Lisp_Object proc, const char *volatile buf,
5497 EMACS_INT rv; 5497 EMACS_INT rv;
5498 struct coding_system *coding; 5498 struct coding_system *coding;
5499 struct gcpro gcpro1; 5499 struct gcpro gcpro1;
5500 SIGTYPE (*volatile old_sigpipe) (int); 5500 void (*volatile old_sigpipe) (int);
5501 5501
5502 GCPRO1 (object); 5502 GCPRO1 (object);
5503 5503
@@ -5619,7 +5619,7 @@ send_process (volatile Lisp_Object proc, const char *volatile buf,
5619 while (this > 0) 5619 while (this > 0)
5620 { 5620 {
5621 int outfd = p->outfd; 5621 int outfd = p->outfd;
5622 old_sigpipe = (SIGTYPE (*) (int)) signal (SIGPIPE, send_process_trap); 5622 old_sigpipe = (void (*) (int)) signal (SIGPIPE, send_process_trap);
5623#ifdef DATAGRAM_SOCKETS 5623#ifdef DATAGRAM_SOCKETS
5624 if (DATAGRAM_CHAN_P (outfd)) 5624 if (DATAGRAM_CHAN_P (outfd))
5625 { 5625 {
@@ -6379,7 +6379,7 @@ process has been transmitted to the serial port. */)
6379 indirectly; if it does, that is a bug */ 6379 indirectly; if it does, that is a bug */
6380 6380
6381#ifdef SIGCHLD 6381#ifdef SIGCHLD
6382static SIGTYPE 6382static void
6383sigchld_handler (int signo) 6383sigchld_handler (int signo)
6384{ 6384{
6385 int old_errno = errno; 6385 int old_errno = errno;