]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - gomoku/bdisp.c
Rename internal getline() function to get_line() so it does
[bsdgames-darwin.git] / gomoku / bdisp.c
index 70297ce2acc61d353a5cb76b16dba9e45e458992..a5e25ebdb81adf732d2cdb0c14f109e9edfd84c3 100644 (file)
@@ -1,4 +1,4 @@
-/*     $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
@@ -37,7 +37,7 @@
 #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 */
 
@@ -153,9 +153,9 @@ bdisp(void)
                        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 = '.';
@@ -186,9 +186,9 @@ bdump(FILE *fp)
                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 = '.';
@@ -241,7 +241,7 @@ ask(const char *str)
 }
 
 int
-getline(char *buf, int size)
+get_line(char *buf, int size)
 {
        char *cp, *end;
        int c;