diff options
author | jsm <jsm@NetBSD.org> | 2004-01-26 09:59:36 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2004-01-26 09:59:36 +0000 |
commit | fab68984a6f4207d48e9315ac074c3bfb17015cb (patch) | |
tree | 4545ac03d67022868ea4fa7a559d367dbe8c15e1 /monop/misc.c | |
parent | 6267dec9c994556fa09a1f244c8dea227a3bfd21 (diff) | |
download | bsdgames-darwin-fab68984a6f4207d48e9315ac074c3bfb17015cb.tar.gz bsdgames-darwin-fab68984a6f4207d48e9315ac074c3bfb17015cb.tar.zst bsdgames-darwin-fab68984a6f4207d48e9315ac074c3bfb17015cb.zip |
Rename yn to yncoms to avoid conflict with GCC 3.4 built-in XSI
function.
Diffstat (limited to 'monop/misc.c')
-rw-r--r-- | monop/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monop/misc.c b/monop/misc.c index 27612a0d..f9a37557 100644 --- a/monop/misc.c +++ b/monop/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.11 2003/08/07 09:37:28 agc Exp $ */ +/* $NetBSD: misc.c,v 1.12 2004/01/26 09:59:36 jsm Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: misc.c,v 1.11 2003/08/07 09:37:28 agc Exp $"); +__RCSID("$NetBSD: misc.c,v 1.12 2004/01/26 09:59:36 jsm Exp $"); #endif #endif /* not lint */ @@ -53,7 +53,7 @@ getyn(prompt) int com; for (;;) - if ((com=getinp(prompt, yn)) < 2) + if ((com=getinp(prompt, yncoms)) < 2) return com; else (*func[com-2])(); |