diff options
author | mrg <mrg@NetBSD.org> | 2010-03-22 05:10:19 +0000 |
---|---|---|
committer | mrg <mrg@NetBSD.org> | 2010-03-22 05:10:19 +0000 |
commit | f2b7fd780afc1e5af2361c412570c105cde1f297 (patch) | |
tree | c4cf4112e82ea1729c12d38868302771f4080762 /backgammon/teachgammon/ttext2.c | |
parent | 395c0105e88788b96a2f393d5828374e5e1083cc (diff) | |
download | bsdgames-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/ttext2.c')
-rw-r--r-- | backgammon/teachgammon/ttext2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backgammon/teachgammon/ttext2.c b/backgammon/teachgammon/ttext2.c index 99e3b49c..2a0d5ee4 100644 --- a/backgammon/teachgammon/ttext2.c +++ b/backgammon/teachgammon/ttext2.c @@ -1,4 +1,4 @@ -/* $NetBSD: ttext2.c,v 1.8 2005/07/01 01:12:39 jmc Exp $ */ +/* $NetBSD: ttext2.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[] = "@(#)ttext2.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: ttext2.c,v 1.8 2005/07/01 01:12:39 jmc Exp $"); +__RCSID("$NetBSD: ttext2.c,v 1.9 2010/03/22 05:10:19 mrg Exp $"); #endif #endif /* not lint */ @@ -127,7 +127,7 @@ const char *const lastch[] = { int -text(const char *const *txt) +wrtext(const char *const *txt) { const char *const *begin; const char *a; @@ -157,7 +157,7 @@ text(const char *const *txt) clear(); } else writec('\n'); - text(list); + wrtext(list); writel(prompt); continue; } |