From 635cf4e57c04552a902e07e2f4c1a18fcdfcf0de Mon Sep 17 00:00:00 2001
From: veego <veego@NetBSD.org>
Date: Sun, 25 Apr 1999 09:10:07 +0000
Subject: It was a bad idea to call a function 'beep'. Rename it to msg_beep to
 avoid conflicts with the new curses.h.

---
 usr.bin/msgc/msg_sys.def | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'usr.bin/msgc/msg_sys.def')

diff --git a/usr.bin/msgc/msg_sys.def b/usr.bin/msgc/msg_sys.def
index f257f956f45..ada8e16a475 100644
--- a/usr.bin/msgc/msg_sys.def
+++ b/usr.bin/msgc/msg_sys.def
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg_sys.def,v 1.1.1.1 1997/09/26 21:16:38 phil Exp $	*/
+/*	$NetBSD: msg_sys.def,v 1.2 1999/04/25 09:10:07 veego Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -42,7 +42,7 @@ static int do_echo = 1;
 
 /* Routines */
 
-void beep (void)
+void msg_beep (void)
 {
 	fprintf (stderr, "\a");
 }
@@ -155,14 +155,14 @@ static void msg_vprompt (char *msg, char *def, char *val, int max_chars,
 					wdelch(msg_win);
 				}
 			} else
-				beep ();
+				msg_beep ();
 		}
 		else if (count < max_chars && isprint(ch)) {
 			if (do_echo)
 				waddch (msg_win, ch);
 			val[count++] = ch;
 		} else
-			beep ();
+			msg_beep ();
 		if (do_echo)
 			wrefresh(msg_win);
 	}
-- 
cgit 

