summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-23 23:03:54 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-23 23:03:54 +0800
commitb640fe2c00e591888ecc1ca594e5e51336c3bf44 (patch)
tree58fbced83d4f120681a1a1e64f5c5b1050a30038 /mbbsd/io.c
parent432105a135d72c756520d12ece397d52091585ba (diff)
downloadpttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar
pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.gz
pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.bz2
pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.lz
pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.xz
pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.zst
pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.zip
remove useless functions
integrate similiar functions git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 829386f8..c0f5d721 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -587,14 +587,6 @@ getdata_buf(int line, int col, char *prompt, char *buf, int len, int echo)
return oldgetdata(line, col, prompt, buf, len, echo);
}
-char
-getans(char *prompt)
-{
- char ans[5];
-
- getdata(b_lines, 0, prompt, ans, sizeof(ans), LCECHO);
- return ans[0];
-}
int
getdata_str(int line, int col, char *prompt, char *buf, int len, int echo, char *defaultstr)
@@ -611,23 +603,6 @@ getdata(int line, int col, char *prompt, char *buf, int len, int echo)
return oldgetdata(line, col, prompt, buf, len, echo);
}
-int
-rget(int x, char *prompt)
-{
- register int ch;
-
- move(x, 0);
- clrtobot();
- outs(prompt);
- refresh();
-
- ch = igetch();
- if (ch >= 'A' && ch <= 'Z')
- ch = tolower(ch);
-
- return ch;
-}
-
int
igetkey()