summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 04:22:40 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 04:22:40 +0800
commit9638054c27af6c986d72ffe416152208fb8da006 (patch)
tree433865fa71ad3b574f6ee83dae52b03a57972723
parenta115db7e89c83779769f07044b4b3bb914bcef13 (diff)
downloadpttbbs-9638054c27af6c986d72ffe416152208fb8da006.tar
pttbbs-9638054c27af6c986d72ffe416152208fb8da006.tar.gz
pttbbs-9638054c27af6c986d72ffe416152208fb8da006.tar.bz2
pttbbs-9638054c27af6c986d72ffe416152208fb8da006.tar.lz
pttbbs-9638054c27af6c986d72ffe416152208fb8da006.tar.xz
pttbbs-9638054c27af6c986d72ffe416152208fb8da006.tar.zst
pttbbs-9638054c27af6c986d72ffe416152208fb8da006.zip
two mouts
clean one mouts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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 嚕~~ 繼續去奮鬥吧!!");
+ vmsg("OK 嚕~~ 繼續去奮鬥吧!!");
else
- vmsg(22, 0, "沒辦法CAT過去呢 去檢查一下系統吧!!");
+ vmsg("沒辦法CAT過去呢 去檢查一下系統吧!!");
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)
{