summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/proto.h1
-rw-r--r--mbbsd/admin.c4
-rw-r--r--mbbsd/dark.c8
3 files changed, 3 insertions, 10 deletions
diff --git a/include/proto.h b/include/proto.h
index 097829b7..773a5a0c 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -453,6 +453,7 @@ void check_register(void);
char *genpasswd(char *pw);
/* screen */
+void mouts(int y, int x, char *str);
void move(int y, int x);
void outs(char *str);
void clrtoeol(void);
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 02bab271..5379d0be 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1158,9 +1158,9 @@ cat_register()
{
if (system("cat register.new.tmp >> register.new") == 0 &&
system("rm -f register.new.tmp") == 0)
- vmsg(22, 0, "OK �P~~ �~��h���a!!");
+ vmsg("OK �P~~ �~��h���a!!");
else
- vmsg(22, 0, "�S��kCAT�L�h�O �h�ˬd�@�U�t�Χa!!");
+ vmsg("�S��kCAT�L�h�O �h�ˬd�@�U�t�Χa!!");
return 0;
}
diff --git a/mbbsd/dark.c b/mbbsd/dark.c
index 65fd85ab..e26dd890 100644
--- a/mbbsd/dark.c
+++ b/mbbsd/dark.c
@@ -33,14 +33,6 @@ brdswap(sint y, sint x, sint ly, sint lx)
brd[ly][lx].value = -1;
}
-static void
-mouts(sint y, sint x, char *s)
-{
- move(y, x);
- clrtoeol();
- prints("%s", s);
-}
-
static sint
Is_win(item att, item det, sint y, sint x, sint ly, sint lx)
{