diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2017-04-16 18:04:03 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2017-04-16 18:04:03 +0000 |
commit | 9b0dc8d7c754a75bc890559ad1a6d6175adba7dc (patch) | |
tree | 57a12c547edce2b156db4f6f9f1a5e2950166b10 /games/tetris | |
parent | f5eac3795378a2ce8e510a1ed945746a93628fcf (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')
-rw-r--r-- | games/tetris/screen.c | 4 |
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 */ |