summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/lib_beep.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-12-03 05:20:47 +0000
committermillert <millert@openbsd.org>1997-12-03 05:20:47 +0000
commit6f4099fecac342eeff29dd2bf0512f777a62a591 (patch)
tree30035276ed4d5b07245464d724dd101dc9b5efb4 /lib/libcurses/lib_beep.c
parentmerge of ncurses-4.1-971129 (diff)
downloadwireguard-openbsd-6f4099fecac342eeff29dd2bf0512f777a62a591.tar.xz
wireguard-openbsd-6f4099fecac342eeff29dd2bf0512f777a62a591.zip
Merge of ncurses-4.1-971129
Diffstat (limited to 'lib/libcurses/lib_beep.c')
-rw-r--r--lib/libcurses/lib_beep.c30
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);
-}