summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2001-02-18 04:16:37 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2001-02-18 04:16:37 +0000
commit2bdf9b4535c73b840e96a2e7f6ef10efe19db63a (patch)
tree3e4bcaae34e2322cf0cce31da994adb9d191a1f1 /games
parentd53eadaf580866f1168125aeba82afae6ca37259 (diff)
rename variable raw->traw as to not conflict with raw()
Diffstat (limited to 'games')
-rw-r--r--games/backgammon/backgammon/move.c8
-rw-r--r--games/backgammon/backgammon/text.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/games/backgammon/backgammon/move.c b/games/backgammon/backgammon/move.c
index 73cfccc2daf..4d8d4a28c47 100644
--- a/games/backgammon/backgammon/move.c
+++ b/games/backgammon/backgammon/move.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: move.c,v 1.2 1998/03/19 11:13:08 pjanzen Exp $ */
+/* $OpenBSD: move.c,v 1.3 2001/02/18 04:16:36 ericj 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[] = "$OpenBSD: move.c,v 1.2 1998/03/19 11:13:08 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: move.c,v 1.3 2001/02/18 04:16:36 ericj Exp $";
#endif
#endif /* not lint */
@@ -141,7 +141,7 @@ move(okay)
if (mvlim == 0) {
writel(" but cannot use it.\n");
nexturn();
- fixtty(&raw);
+ fixtty(&traw);
return;
}
/* initialize */
@@ -178,7 +178,7 @@ move(okay)
buflush();
sleep(3);
}
- fixtty(&raw); /* no more tty interrupt */
+ fixtty(&traw); /* no more tty interrupt */
}
void
diff --git a/games/backgammon/backgammon/text.c b/games/backgammon/backgammon/text.c
index afa9a4c17b2..aff710442f7 100644
--- a/games/backgammon/backgammon/text.c
+++ b/games/backgammon/backgammon/text.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: text.c,v 1.3 1999/07/31 21:57:35 pjanzen Exp $ */
+/* $OpenBSD: text.c,v 1.4 2001/02/18 04:16:36 ericj Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)text.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: text.c,v 1.3 1999/07/31 21:57:35 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: text.c,v 1.4 2001/02/18 04:16:36 ericj Exp $";
#endif
#endif /* not lint */
@@ -121,13 +121,13 @@ text(t)
writec('\n');
} else {
writel("-->");
- fixtty(&raw);
+ fixtty(&traw);
while ((i = readc()) != ' ' && i != '\n');
fixtty(&noech);
clear();
}
t++;
}
- fixtty(&raw);
+ fixtty(&traw);
return(0);
}