summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-01 23:47:01 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-01 23:47:01 +0000
commit0fa7ab9711973a56a51e2912ddba59e82bd1cbd4 (patch)
tree607a6d94246f0c0a4802bd051717289cc90b1588 /src
parent6950ca0109c701badf97046bfb4b9b7166c0753f (diff)
downloademacs-0fa7ab9711973a56a51e2912ddba59e82bd1cbd4.tar.gz
(init_baud_rate): Use INIT_BAUD_RATE if it's defined.
(sys_signal): Lose DGUX special case.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 9f8585b3c43..b6d87714820 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -312,6 +312,9 @@ init_baud_rate ()
ospeed = 0;
else
{
+#ifdef INIT_BAUD_RATE
+ INIT_BAUD_RATE ();
+#else
#ifdef DOS_NT
ospeed = 15;
#else /* not DOS_NT */
@@ -355,6 +358,7 @@ init_baud_rate ()
#endif /* not HAVE_TERMIOS */
#endif /* not VMS */
#endif /* not DOS_NT */
+#endif /* not INIT_BAUD_RATE */
}
baud_rate = (ospeed < sizeof baud_convert / sizeof baud_convert[0]
@@ -2663,11 +2667,6 @@ init_signals ()
signal_handler_t
sys_signal (int signal_number, signal_handler_t action)
{
-#ifdef DGUX
- /* This gets us restartable system calls for efficiency.
- The "else" code will works as well. */
- return (berk_signal (signal_number, action));
-#else
sigemptyset (&new_action.sa_mask);
new_action.sa_handler = action;
#ifdef SA_RESTART
@@ -2680,7 +2679,6 @@ sys_signal (int signal_number, signal_handler_t action)
#endif
sigaction (signal_number, &new_action, &old_action);
return (old_action.sa_handler);
-#endif /* DGUX */
}
#ifndef __GNUC__