diff options
author | Jari Aalto <jari.aalto@cante.net> | 1999-02-19 17:11:39 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:52 +0000 |
commit | b72432fdcc59300c6fe7c9d6c8a31ad3447933f5 (patch) | |
tree | b9899162338c2ff3fd83a8aef8831cb119e85cd7 /nojobs.c | |
parent | bc4cd23ce958feda898c618215f94d8a4e8f4ffa (diff) | |
download | android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.gz android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.bz2 android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.zip |
Imported from ../bash-2.03.tar.gz.
Diffstat (limited to 'nojobs.c')
-rw-r--r-- | nojobs.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -668,6 +668,7 @@ get_tty_state () } /* Make the current tty use the state in shell_tty_info. */ +int set_tty_state () { int tty; @@ -676,7 +677,7 @@ set_tty_state () if (tty != -1) { if (got_tty_state == 0) - return; + return 0; #if defined (TERMIOS_TTY_DRIVER) tcsetattr (tty, TCSADRAIN, &shell_tty_info); @@ -688,6 +689,7 @@ set_tty_state () # endif #endif } + return 0; } /* Give the terminal to PGRP. */ |