From e454145b0985d28ef5581be5c469726e68762322 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 15 Feb 2013 11:08:11 -0800 Subject: [PATCH] * process.c (h_errno) [!HAVE_H_ERRNO]: Remove unused decl. --- src/ChangeLog | 4 ++++ src/process.c | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1175e97688d..82751e371df 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-02-15 Paul Eggert + + * process.c (h_errno) [!HAVE_H_ERRNO]: Remove unused decl. + 2013-02-15 Eli Zaretskii * keyboard.c (read_char): Fix calculation of auto-save time out diff --git a/src/process.c b/src/process.c index f210065b98e..9d6e8c097a1 100644 --- a/src/process.c +++ b/src/process.c @@ -180,10 +180,6 @@ static Lisp_Object Qlast_nonmenu_event; #define SERIALCONN_P(p) (EQ (XPROCESS (p)->type, Qserial)) #define SERIALCONN1_P(p) (EQ (p->type, Qserial)) -#ifndef HAVE_H_ERRNO -extern int h_errno; -#endif - /* Number of events of change of status of a process. */ static EMACS_INT process_tick; /* Number of events for which the user or sentinel has been notified. */ @@ -5567,7 +5563,7 @@ Output from processes can arrive in between bunches. */) if (XINT (start) < GPT && XINT (end) > GPT) move_gap_both (XINT (start), start_byte); - send_process (proc, (char *) BYTE_POS_ADDR (start_byte), + send_process (proc, (char *) BYTE_POS_ADDR (start_byte), end_byte - start_byte, Fcurrent_buffer ()); return Qnil; -- 2.39.2