aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorAdrian Robert2008-07-16 23:24:46 +0000
committerAdrian Robert2008-07-16 23:24:46 +0000
commit122e9f8f29a92b6038b65a3b4f6ef31ad96e2cd5 (patch)
tree29e83f0a25f866bd8b885a5a811360dcf0eeeb87 /src/keyboard.c
parentcf7238adf9f3bcddb60d422c470b58605a1b8bad (diff)
downloademacs-122e9f8f29a92b6038b65a3b4f6ef31ad96e2cd5.tar.gz
emacs-122e9f8f29a92b6038b65a3b4f6ef31ad96e2cd5.zip
various small cleanups detailed in changelogs
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 219b42c2456..716d1101aab 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7308,10 +7308,6 @@ tty_read_avail_input (struct terminal *terminal,
7308void 7308void
7309handle_async_input () 7309handle_async_input ()
7310{ 7310{
7311#ifdef BSD4_1
7312 extern int select_alarmed;
7313#endif
7314
7315 interrupt_input_pending = 0; 7311 interrupt_input_pending = 0;
7316 7312
7317 while (1) 7313 while (1)
@@ -7323,10 +7319,6 @@ handle_async_input ()
7323 0 means there was no keyboard input available. */ 7319 0 means there was no keyboard input available. */
7324 if (nread <= 0) 7320 if (nread <= 0)
7325 break; 7321 break;
7326
7327#ifdef BSD4_1
7328 select_alarmed = 1; /* Force the select emulator back to life */
7329#endif
7330 } 7322 }
7331} 7323}
7332 7324
@@ -7345,10 +7337,6 @@ input_available_signal (signo)
7345 signal (signo, input_available_signal); 7337 signal (signo, input_available_signal);
7346#endif /* USG */ 7338#endif /* USG */
7347 7339
7348#ifdef BSD4_1
7349 sigisheld (SIGIO);
7350#endif
7351
7352#ifdef SYNC_INPUT 7340#ifdef SYNC_INPUT
7353 interrupt_input_pending = 1; 7341 interrupt_input_pending = 1;
7354#else 7342#else
@@ -7362,9 +7350,6 @@ input_available_signal (signo)
7362 handle_async_input (); 7350 handle_async_input ();
7363#endif 7351#endif
7364 7352
7365#ifdef BSD4_1
7366 sigfree ();
7367#endif
7368 errno = old_errno; 7353 errno = old_errno;
7369} 7354}
7370#endif /* SIGIO */ 7355#endif /* SIGIO */