summaryrefslogtreecommitdiffstats
path: root/mbbsd/menu.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/menu.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/menu.c')
-rw-r--r--mbbsd/menu.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index 5f8276b8..3c4dcbae 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -5,25 +5,6 @@
static int refscreen = NA;
extern char *boardprefix;
extern struct utmpfile_t *utmpshm;
-
-int
-egetch()
-{
- int rval;
-
- while (1) {
- rval = igetkey();
- if (talkrequest) {
- talkreply();
- refscreen = YEA;
- return rval;
- }
- if (rval != Ctrl('L'))
- return rval;
- redoscr();
- }
-}
-
extern char *fn_board;
extern char board_hidden_status;
@@ -311,7 +292,7 @@ domenu(int cmdmode, char *cmdtitle, int cmd, commands_t cmdtable[])
pos++;
cursor_show(menu_row + pos, menu_column);
- } while (((cmd = egetch()) != EOF) || refscreen);
+ } while (((cmd = igetch()) != EOF) || refscreen);
abort_bbs(0);
}