aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index 313663e5d42..75bc59a30ab 100644
--- a/src/process.c
+++ b/src/process.c
@@ -182,7 +182,7 @@ Lisp_Object Quser, Qgroup, Qetime, Qpcpu, Qpmem, Qtime, Qctime;
182 182
183#include "syswait.h" 183#include "syswait.h"
184 184
185extern char *get_operating_system_release (); 185extern char *get_operating_system_release (void);
186 186
187/* Serial processes require termios or Windows. */ 187/* Serial processes require termios or Windows. */
188#if defined (HAVE_TERMIOS) || defined (WINDOWSNT) 188#if defined (HAVE_TERMIOS) || defined (WINDOWSNT)
@@ -5606,7 +5606,7 @@ send_process (volatile Lisp_Object proc, unsigned char *volatile buf,
5606 int rv; 5606 int rv;
5607 struct coding_system *coding; 5607 struct coding_system *coding;
5608 struct gcpro gcpro1; 5608 struct gcpro gcpro1;
5609 SIGTYPE (*volatile old_sigpipe) (); 5609 SIGTYPE (*volatile old_sigpipe) (int);
5610 5610
5611 GCPRO1 (object); 5611 GCPRO1 (object);
5612 5612
@@ -5719,7 +5719,7 @@ send_process (volatile Lisp_Object proc, unsigned char *volatile buf,
5719 while (this > 0) 5719 while (this > 0)
5720 { 5720 {
5721 int outfd = p->outfd; 5721 int outfd = p->outfd;
5722 old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap); 5722 old_sigpipe = (SIGTYPE (*) (int)) signal (SIGPIPE, send_process_trap);
5723#ifdef DATAGRAM_SOCKETS 5723#ifdef DATAGRAM_SOCKETS
5724 if (DATAGRAM_CHAN_P (outfd)) 5724 if (DATAGRAM_CHAN_P (outfd))
5725 { 5725 {