diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-23 23:03:54 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-23 23:03:54 +0800 |
commit | b640fe2c00e591888ecc1ca594e5e51336c3bf44 (patch) | |
tree | 58fbced83d4f120681a1a1e64f5c5b1050a30038 /mbbsd/io.c | |
parent | 432105a135d72c756520d12ece397d52091585ba (diff) | |
download | pttbbs-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.c | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -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() |