summaryrefslogtreecommitdiffstats
path: root/mbbsd/gomo.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-21 17:26:02 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-21 17:26:02 +0800
commite9a7b75babb76e1a3341161bcb6e80f3753b83c7 (patch)
tree04debdc816cd5405bba70904a1eea16ca6fca663 /mbbsd/gomo.c
parent1428a82d1644166fdaa5285c67f236ac02687818 (diff)
downloadpttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.gz
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.bz2
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.lz
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.xz
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.tar.zst
pttbbs-e9a7b75babb76e1a3341161bcb6e80f3753b83c7.zip
indent -i4
fix indent's word error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@429 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/gomo.c')
-rw-r--r--mbbsd/gomo.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c
index 49a1694a..c6870e3f 100644
--- a/mbbsd/gomo.c
+++ b/mbbsd/gomo.c
@@ -1,4 +1,4 @@
-/* $Id: gomo.c,v 1.7 2002/07/21 08:18:41 in2 Exp $ */
+/* $Id: gomo.c,v 1.8 2002/07/21 09:26:02 in2 Exp $ */
#include "bbs.h"
static char *chess[] = {"¡´", "¡³"};
@@ -11,7 +11,7 @@ typedef struct {
static Horder_t *v, pool[225];
-static void
+static void
HO_init()
{
memset(pool, 0, sizeof(pool));
@@ -21,13 +21,13 @@ HO_init()
memset(ku, 0, sizeof(ku));
}
-static void
+static void
HO_add(Horder_t * mv)
{
*v++ = *mv;
}
-static void
+static void
HO_undo(Horder_t * mv)
{
char *str = "¢z¢s¢{¢u¢q¢t¢|¢r¢}";
@@ -42,7 +42,7 @@ HO_undo(Horder_t * mv)
prints("%.2s", str + loc);
}
-static void
+static void
HO_log(char *user)
{
int i;
@@ -82,7 +82,7 @@ HO_log(char *user)
unlink(buf);
}
-static int
+static int
countgomo()
{
Horder_t *ptr;
@@ -96,7 +96,7 @@ countgomo()
return i;
}
-static int
+static int
chkmv(Horder_t * mv, int color, int limit)
{
char *xtype[] = {"\033[1;31m¸õ¤T\033[m", "\033[1;31m¬¡¤T\033[m",
@@ -114,7 +114,7 @@ chkmv(Horder_t * mv, int color, int limit)
return chkwin(rule, limit);
}
-static int
+static int
gomo_key(int fd, int ch, Horder_t * mv)
{
if (ch >= 'a' && ch <= 'o') {
@@ -157,7 +157,7 @@ gomo_key(int fd, int ch, Horder_t * mv)
return 0;
}
-static int
+static int
reload_gomo()
{
passwd_query(usernum, &xuser);
@@ -167,7 +167,7 @@ reload_gomo()
return 0;
}
-int
+int
gomoku(int fd)
{
Horder_t mv;