-/* $NetBSD: bdisp.c,v 1.10 2009/06/04 05:27:04 dholland Exp $ */
+/* $NetBSD: bdisp.c,v 1.12 2009/07/13 19:05:40 roy Exp $ */
/*
* Copyright (c) 1994
#if 0
static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: bdisp.c,v 1.10 2009/06/04 05:27:04 dholland Exp $");
+__RCSID("$NetBSD: bdisp.c,v 1.12 2009/07/13 19:05:40 roy Exp $");
#endif
#endif /* not lint */
move(BSZ1 - j, 2 * i + 1);
sp = &board[i + j * BSZ1];
if (debug > 1 && sp->s_occ == EMPTY) {
- if (sp->s_flg & IFLAGALL)
+ if (sp->s_flags & IFLAGALL)
c = '+';
- else if (sp->s_flg & CFLAGALL)
+ else if (sp->s_flags & CFLAGALL)
c = '-';
else
c = '.';
for (i = 1; i < BSZ1; i++) {
sp = &board[i + j * BSZ1];
if (debug > 1 && sp->s_occ == EMPTY) {
- if (sp->s_flg & IFLAGALL)
+ if (sp->s_flags & IFLAGALL)
c = '+';
- else if (sp->s_flg & CFLAGALL)
+ else if (sp->s_flags & CFLAGALL)
c = '-';
else
c = '.';
}
int
-getline(char *buf, int size)
+get_line(char *buf, int size)
{
char *cp, *end;
int c;