summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source
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/common_source
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/common_source')
-rw-r--r--backgammon/common_source/back.h4
-rw-r--r--backgammon/common_source/table.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/backgammon/common_source/back.h b/backgammon/common_source/back.h
index fe8737c6..ed56e81c 100644
--- a/backgammon/common_source/back.h
+++ b/backgammon/common_source/back.h
@@ -1,4 +1,4 @@
-/* $NetBSD: back.h,v 1.16 2009/08/12 05:17:57 dholland Exp $ */
+/* $NetBSD: back.h,v 1.17 2010/03/22 05:10:19 mrg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -165,7 +165,7 @@ void recover(const char *);
void refresh(void);
void roll(void);
void save(int);
-int text(const char *const *);
+int wrtext(const char *const *);
void wrboard(void);
void wrhit(int);
void wrint(int);
diff --git a/backgammon/common_source/table.c b/backgammon/common_source/table.c
index 869d802e..1c88008d 100644
--- a/backgammon/common_source/table.c
+++ b/backgammon/common_source/table.c
@@ -1,4 +1,4 @@
-/* $NetBSD: table.c,v 1.10 2009/08/12 05:17:57 dholland Exp $ */
+/* $NetBSD: table.c,v 1.11 2010/03/22 05:10:19 mrg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: table.c,v 1.10 2009/08/12 05:17:57 dholland Exp $");
+__RCSID("$NetBSD: table.c,v 1.11 2010/03/22 05:10:19 mrg Exp $");
#endif
#endif /* not lint */
@@ -262,7 +262,7 @@ dotable(int c, int i)
curmove(20, 0);
else
writec('\n');
- (void) text(help2);
+ (void) wrtext(help2);
if (tflag) {
curmove(cturn == -1 ? 18 : 19, 39);
} else {