diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-02-10 11:13:12 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-02-10 11:13:12 +0000 |
commit | 243405e3996e297db0561e6b1cc4a5df6a18a752 (patch) | |
tree | 4f42ffdb9645be016bb747d160539316e0cba12d /games | |
parent | a9030d924fac11cf6af8248053343736ce8ce9c6 (diff) |
stdc
Diffstat (limited to 'games')
-rw-r--r-- | games/hunt/hunt/display.c | 6 |
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 } /* |