[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101896: Small sysdep.c cleanups.
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101896: Small sysdep.c cleanups. |
Date: |
Sun, 10 Oct 2010 06:44:22 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101896
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Sun 2010-10-10 06:44:22 -0700
message:
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.
modified:
src/ChangeLog
src/sysdep.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-10-09 14:31:56 +0000
+++ b/src/ChangeLog 2010-10-10 13:44:22 +0000
@@ -1,3 +1,9 @@
+2010-10-10 Dan Nicolaescu <address@hidden>
+
+ * 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 <address@hidden>
* gnutls.c (syms_of_gnutls): All the bootprops are keywords.
=== modified file 'src/sysdep.c'
--- a/src/sysdep.c 2010-10-03 15:19:34 +0000
+++ b/src/sysdep.c 2010-10-10 13:44:22 +0000
@@ -123,19 +123,12 @@
#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 @@
void
init_baud_rate (int fd)
{
+ int emacs_ospeed;
+
if (noninteractive)
emacs_ospeed = 0;
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101896: Small sysdep.c cleanups.,
Dan Nicolaescu <=