diff options
| author | Dan Nicolaescu | 2010-07-05 09:29:35 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-05 09:29:35 -0700 |
| commit | d2aa42f8be4756cf4efc96b975bb6db9c0bdff94 (patch) | |
| tree | 6d899bc468ac6031b5aec1f4528344a495a67f26 /src/process.c | |
| parent | d3da34e0dab1404e80dba5413b3c449a6ea8fa0c (diff) | |
| download | emacs-d2aa42f8be4756cf4efc96b975bb6db9c0bdff94.tar.gz emacs-d2aa42f8be4756cf4efc96b975bb6db9c0bdff94.zip | |
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.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 6 |
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 | ||
| 185 | extern char *get_operating_system_release (); | 185 | extern 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 | { |