summaryrefslogtreecommitdiffstats
path: root/backgammon/teachgammon/tutor.c
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2010-03-22 05:10:19 +0000
committermrg <mrg@NetBSD.org>2010-03-22 05:10:19 +0000
commitf2b7fd780afc1e5af2361c412570c105cde1f297 (patch)
treec4cf4112e82ea1729c12d38868302771f4080762 /backgammon/teachgammon/tutor.c
parent395c0105e88788b96a2f393d5828374e5e1083cc (diff)
downloadbsdgames-darwin-f2b7fd780afc1e5af2361c412570c105cde1f297.tar.gz
bsdgames-darwin-f2b7fd780afc1e5af2361c412570c105cde1f297.tar.zst
bsdgames-darwin-f2b7fd780afc1e5af2361c412570c105cde1f297.zip
rename text() to wrtext(), aligning it with most other output routines,
and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
Diffstat (limited to 'backgammon/teachgammon/tutor.c')
-rw-r--r--backgammon/teachgammon/tutor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backgammon/teachgammon/tutor.c b/backgammon/teachgammon/tutor.c
index a5b0a4c9..d50d051d 100644
--- a/backgammon/teachgammon/tutor.c
+++ b/backgammon/teachgammon/tutor.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tutor.c,v 1.8 2009/08/12 05:17:57 dholland Exp $ */
+/* $NetBSD: tutor.c,v 1.9 2010/03/22 05:10:19 mrg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)tutor.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: tutor.c,v 1.8 2009/08/12 05:17:57 dholland Exp $");
+__RCSID("$NetBSD: tutor.c,v 1.9 2010/03/22 05:10:19 mrg Exp $");
#endif
#endif /* not lint */
@@ -89,7 +89,7 @@ tutor(void)
}
if (tflag)
curmove(18, 0);
- text(*test[i].com);
+ wrtext(*test[i].com);
if (!tflag)
writec('\n');
if (i == maxmoves)