mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
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
This commit is contained in:
parent
cbc9bc3e76
commit
81817b7795
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user