summaryrefslogtreecommitdiff
path: root/games/tetris/screen.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2017-04-16 18:04:03 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2017-04-16 18:04:03 +0000
commit9b0dc8d7c754a75bc890559ad1a6d6175adba7dc (patch)
tree57a12c547edce2b156db4f6f9f1a5e2950166b10 /games/tetris/screen.c
parentf5eac3795378a2ce8e510a1ed945746a93628fcf (diff)
According to termcap(3), char PC, *BC, *UP need to be extern. Fixes an
ld(1) error found by mestre a while ago. fix suggested and ok naddy
Diffstat (limited to 'games/tetris/screen.c')
-rw-r--r--games/tetris/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/tetris/screen.c b/games/tetris/screen.c
index 8533cb86dde..4c5fb73fa4e 100644
--- a/games/tetris/screen.c
+++ b/games/tetris/screen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen.c,v 1.17 2016/06/10 15:37:09 tb Exp $ */
+/* $OpenBSD: screen.c,v 1.18 2017/04/16 18:04:02 tb Exp $ */
/* $NetBSD: screen.c,v 1.4 1995/04/29 01:11:36 mycroft Exp $ */
/*-
@@ -65,7 +65,7 @@ static void stopset(int);
/*
* Capabilities from TERMCAP.
*/
-char PC, *BC, *UP; /* tgoto requires globals: ugh! */
+extern char PC, *BC, *UP; /* tgoto requires globals: ugh! */
static char
*bcstr, /* backspace char */