From: tb Date: Sun, 16 Apr 2017 18:04:02 +0000 (+0000) Subject: According to termcap(3), char PC, *BC, *UP need to be extern. Fixes an X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=81817b77959e5345b0f8e3cf28bc8a2986255837;p=openbsd 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 --- 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 */