Commit 4c620157 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

Small sysdep.c cleanups.

* src/sysdep.c (LPASS8): Remove, unused.
(emacs_ospeed): Change from being a global to a local in the only
user: init_baud_rate.
parent c332ebc2
2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
* sysdep.c (LPASS8): Remove, unused.
(emacs_ospeed): Change from being a global to a local in the only
user: init_baud_rate.
2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
 
* gnutls.c (syms_of_gnutls): All the bootprops are keywords.
......
......@@ -123,19 +123,12 @@ struct utimbuf {
#endif
#endif
/* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */
#ifndef LPASS8
#define LPASS8 0
#endif
static const int baud_convert[] =
{
0, 50, 75, 110, 135, 150, 200, 300, 600, 1200,
1800, 2400, 4800, 9600, 19200, 38400
};
int emacs_ospeed;
void croak (char *) NO_RETURN;
/* Temporary used by `sigblock' when defined in terms of signprocmask. */
......@@ -275,6 +268,8 @@ stuff_char (char c)
void
init_baud_rate (int fd)
{
int emacs_ospeed;
if (noninteractive)
emacs_ospeed = 0;
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment