summaryrefslogtreecommitdiffstats
path: root/usr.bin/mg/tty.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-10 22:20:44 +0000
committerderaadt <deraadt@openbsd.org>2003-06-10 22:20:44 +0000
commit1837a5ca509d93cac77d2e89322c0c4869f9215d (patch)
tree52dbe14a25e44bdf8161f4c51f39a50c072fe221 /usr.bin/mg/tty.c
parentIt would kind of help if the flags member was initialized, otherwise random (diff)
downloadwireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.tar.xz
wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.zip
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/mg/tty.c')
-rw-r--r--usr.bin/mg/tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/tty.c b/usr.bin/mg/tty.c
index 407751d5bad..e9861cce2e5 100644
--- a/usr.bin/mg/tty.c
+++ b/usr.bin/mg/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.19 2002/08/28 19:48:29 art Exp $ */
+/* $OpenBSD: tty.c,v 1.20 2003/06/10 22:20:48 deraadt Exp $ */
/*
* Terminfo display driver
@@ -220,7 +220,7 @@ tteeop(void)
* Make a noise.
*/
void
-ttbeep()
+ttbeep(void)
{
putpad(bell, 1);
ttflush();
@@ -360,7 +360,7 @@ ttwindow(top, bot)
* your terminal size.
*/
void
-ttnowindow()
+ttnowindow(void)
{
if (change_scroll_region) {
putpad(tgoto(change_scroll_region,