summaryrefslogtreecommitdiffstats
path: root/backgammon/backgammon/move.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-04-29 00:44:03 +0000
committermycroft <mycroft@NetBSD.org>1995-04-29 00:44:03 +0000
commit42430ba7d7a05f98105888cb19f79d9bd7cd22ad (patch)
treeaa3516e56353d97671cf6c67335ebf60a1ca8b61 /backgammon/backgammon/move.c
parent567e3567cfbbfd9940e7ac02313f241710d726c7 (diff)
downloadbsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.tar.gz
bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.tar.zst
bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.zip
Use POSIX tty semantics.
Diffstat (limited to 'backgammon/backgammon/move.c')
-rw-r--r--backgammon/backgammon/move.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/backgammon/backgammon/move.c b/backgammon/backgammon/move.c
index 1f437feb..f96c57a1 100644
--- a/backgammon/backgammon/move.c
+++ b/backgammon/backgammon/move.c
@@ -1,4 +1,4 @@
-/* $NetBSD: move.c,v 1.4 1995/03/21 15:05:10 cgd Exp $ */
+/* $NetBSD: move.c,v 1.5 1995/04/29 00:44:05 mycroft Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: move.c,v 1.4 1995/03/21 15:05:10 cgd Exp $";
+static char rcsid[] = "$NetBSD: move.c,v 1.5 1995/04/29 00:44:05 mycroft Exp $";
#endif
#endif /* not lint */
@@ -131,14 +131,14 @@ int okay; /* zero if first move */
* while thinking */
if (tflag)
cline();
- fixtty (noech);
+ fixtty (&noech);
/* find out how many moves */
mvlim = movallow();
if (mvlim == 0) {
writel (" but cannot use it.\n");
nexturn();
- fixtty (raw);
+ fixtty (&raw);
return;
}
@@ -176,7 +176,7 @@ int okay; /* zero if first move */
buflush();
sleep (3);
}
- fixtty (raw); /* no more tty interrupt */
+ fixtty (&raw); /* no more tty interrupt */
}
trymove (mvnum,swapped)