diff options
author | bde <bde@FreeBSD.org> | 1999-09-04 14:39:19 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-09-04 14:39:19 +0000 |
commit | 21e622297d2e1a3f8646e5b94854b8a6bc4f767e (patch) | |
tree | 7f3b0be0f29f576bba83e13041978695aaf78f61 /games/snake | |
parent | 2db1fa9cd9d21e4c9369760660bd2790a6caa993 (diff) | |
download | FreeBSD-src-21e622297d2e1a3f8646e5b94854b8a6bc4f767e.zip FreeBSD-src-21e622297d2e1a3f8646e5b94854b8a6bc4f767e.tar.gz |
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.
Diffstat (limited to 'games/snake')
-rw-r--r-- | games/snake/snake/move.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/snake/snake/move.c b/games/snake/snake/move.c index 4401a0d..a4c35ed 100644 --- a/games/snake/snake/move.c +++ b/games/snake/snake/move.c @@ -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; { |