From: Paul Eggert Date: Fri, 15 Feb 2013 19:08:11 +0000 (-0800) Subject: * process.c (h_errno) [!HAVE_H_ERRNO]: Remove unused decl. X-Git-Tag: emacs-24.3.90~173^2~7^2~32 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e454145b0985d28ef5581be5c469726e68762322;p=emacs.git * process.c (h_errno) [!HAVE_H_ERRNO]: Remove unused decl. --- 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;