diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-03 05:21:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-03 05:21:47 +0000 |
commit | 211326e37501ac01a66994a221020b75ab5f63f0 (patch) | |
tree | 6d6c7182f1034b1b04c98386a1c3ba44e8accd5f /lib/libcurses/lib_beep.c | |
parent | 7c742f381e7808d0b12c17b534305751f3ebb0cb (diff) |
Merge of ncurses-4.1-971129
Diffstat (limited to 'lib/libcurses/lib_beep.c')
-rw-r--r-- | lib/libcurses/lib_beep.c | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/lib/libcurses/lib_beep.c b/lib/libcurses/lib_beep.c index 4439162e44d..2ff91968132 100644 --- a/lib/libcurses/lib_beep.c +++ b/lib/libcurses/lib_beep.c @@ -1,3 +1,5 @@ +/* $OpenBSD: lib_beep.c,v 1.3 1997/12/03 05:21:12 millert Exp $ */ + /*************************************************************************** * COPYRIGHT NOTICE * @@ -23,14 +25,14 @@ /* * beep.c * - * Routines beep() and flash() + * The routine beep(). * */ #include <curses.priv.h> #include <term.h> /* beep, flash */ -MODULE_ID("Id: lib_beep.c,v 1.3 1997/02/02 00:27:01 tom Exp $") +MODULE_ID("Id: lib_beep.c,v 1.4 1997/10/08 09:38:17 jtc Exp $") /* * beep() @@ -55,27 +57,3 @@ int beep(void) else returnCode(ERR); } - -/* - * flash() - * - * Flash the current terminal's screen if possible. If not, - * sound the audible bell if one exists. - * - */ - -int flash(void) -{ - T((T_CALLED("flash()"))); - - /* FIXME: should make sure that we are not in altchar mode */ - if (flash_screen) { - TPUTS_TRACE("flash_screen"); - returnCode(putp(flash_screen)); - } else if (bell) { - TPUTS_TRACE("bell"); - returnCode(putp(bell)); - } - else - returnCode(ERR); -} |