summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord <d@openbsd.org>2000-02-10 11:13:11 +0000
committerd <d@openbsd.org>2000-02-10 11:13:11 +0000
commit7ed5c0f43f4df57db534c1755ac2b44ee343aaa9 (patch)
treea966609db7094e0ab6d00537204aa7e86ff54ba4
parentadd PPPoE Discovery- and Session-Stage ETHERTYPEs (diff)
downloadwireguard-openbsd-7ed5c0f43f4df57db534c1755ac2b44ee343aaa9.tar.xz
wireguard-openbsd-7ed5c0f43f4df57db534c1755ac2b44ee343aaa9.zip
stdc
-rw-r--r--games/hunt/hunt/display.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/hunt/hunt/display.c b/games/hunt/hunt/display.c
index 3c832f36df4..57da669b28c 100644
--- a/games/hunt/hunt/display.c
+++ b/games/hunt/hunt/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.2 1999/02/01 06:53:55 d Exp $ */
+/* $OpenBSD: display.c,v 1.3 2000/02/10 11:13:11 d Exp $ */
/*
* Display abstraction.
@@ -92,7 +92,11 @@ display_open()
void
display_beep()
{
+#ifdef __STDC__
+ (void) putchar('\a');
+#else
(void) putchar(CTRL('G'));
+#endif
}
/*