diff options
| author | veego <veego@NetBSD.org> | 1999-04-25 09:10:07 +0000 |
|---|---|---|
| committer | veego <veego@NetBSD.org> | 1999-04-25 09:10:07 +0000 |
| commit | 635cf4e57c04552a902e07e2f4c1a18fcdfcf0de (patch) | |
| tree | 5204cdc05369916deb3aa401fa75f148710bb69d /usr.bin/msgc/msg_sys.def | |
| parent | a8743ef778dbf5b66d424339c2bf6597d46ac03f (diff) | |
It was a bad idea to call a function 'beep'.
Rename it to msg_beep to avoid conflicts with the new curses.h.
Diffstat (limited to 'usr.bin/msgc/msg_sys.def')
| -rw-r--r-- | usr.bin/msgc/msg_sys.def | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |
