Mercurial > emacs
diff src/process.c @ 109145:d0090a8b66c3
Convert function definitions and declarations to standard C.
* src/vm-limit.c (memory_warnings):
* src/keyboard.c (modify_event_symbol):
* src/floatfns.c (rounding_driver, ceiling2, floor2, truncate2)
(round2, emacs_rint):
* src/process.c (send_process, old_sigpipe): Convert function
definitions and declarations to standard C.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 05 Jul 2010 09:29:35 -0700 |
parents | 7dceae91724c |
children | f8660b83cdbf |
line wrap: on
line diff
--- a/src/process.c Mon Jul 05 12:36:06 2010 +0200 +++ b/src/process.c Mon Jul 05 09:29:35 2010 -0700 @@ -182,7 +182,7 @@ #include "syswait.h" -extern char *get_operating_system_release (); +extern char *get_operating_system_release (void); /* Serial processes require termios or Windows. */ #if defined (HAVE_TERMIOS) || defined (WINDOWSNT) @@ -5606,7 +5606,7 @@ int rv; struct coding_system *coding; struct gcpro gcpro1; - SIGTYPE (*volatile old_sigpipe) (); + SIGTYPE (*volatile old_sigpipe) (int); GCPRO1 (object); @@ -5719,7 +5719,7 @@ while (this > 0) { int outfd = p->outfd; - old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap); + old_sigpipe = (SIGTYPE (*) (int)) signal (SIGPIPE, send_process_trap); #ifdef DATAGRAM_SOCKETS if (DATAGRAM_CHAN_P (outfd)) {