shithub: st

Download patch

ref: d54559068ac288be60dbc868a3ea5dae11e08a14
parent: dcb88c71fb2132c1007a2ad0971ac475a54f02b5
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Aug 14 07:31:26 EDT 2022

Remove ringbell()

This function is not needed anymore.

--- a/cons.h
+++ b/cons.h
@@ -50,7 +50,6 @@
 extern void	clear(int,int,int,int);
 extern void	newline(void);
 extern int	get_next_char(void);
-extern void	ringbell(void);
 extern int	number(Rune *, int *);
 extern void	shift(int,int,int,int);
 extern void	scroll(int,int,int,int);
--- a/main.c
+++ b/main.c
@@ -1421,10 +1421,6 @@
 	return *hostbufp++;
 }
 
-void
-ringbell(void){
-}
-
 int
 alnum(int c)
 {
--- a/vt.c
+++ b/vt.c
@@ -179,10 +179,6 @@
 		case '\006':
 			goto Default;
 
-		case '\007':		/* bell */
-			ringbell();
-			break;
-
 		case '\010':		/* backspace */
 			if (x > 0)
 				--x;