From f2b7fd780afc1e5af2361c412570c105cde1f297 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 22 Mar 2010 05:10:19 +0000 Subject: 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... --- backgammon/common_source/back.h | 4 ++-- backgammon/common_source/table.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'backgammon/common_source') 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 { -- cgit v1.2.3-56-ge451