Attempt to fix world breakage for the NOSHARED=yes case. baudrate()
is in both snake and libncurses, and the elf static linker can't handle the duplication.
This commit is contained in:
parent
808697bc70
commit
f9f5cfd4dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50909
@ -84,7 +84,7 @@ static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 7/19/93";
|
||||
*
|
||||
* point(&p,x,y) return point set to x,y.
|
||||
*
|
||||
* baudrate(x) returns the baudrate of the terminal.
|
||||
* baudrate() returns the baudrate of the terminal.
|
||||
* delay(t) causes an approximately constant delay
|
||||
* independent of baudrate.
|
||||
* Duration is ~ t/20 seconds.
|
||||
@ -506,6 +506,8 @@ char *str;
|
||||
if (str)
|
||||
tputs(str, 1, outch);
|
||||
}
|
||||
|
||||
#if 0
|
||||
baudrate()
|
||||
{
|
||||
|
||||
@ -522,6 +524,8 @@ baudrate()
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
delay(t)
|
||||
int t;
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user