* myslang.h: Remove definition of initscr(), it's unused.

This commit is contained in:
Pavel Roskin 2002-09-08 16:49:41 +00:00
parent ef9a43a7a3
commit a480b09b7c
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,7 @@
2002-09-08 Pavel Roskin <proski@gnu.org>
* myslang.h: Remove definition of initscr(), it's unused.
* tty.h [!HAVE_SLANG]: Remove all slang_* definitions.
* main.c (main) [!HAVE_SLANG]: Don't call slang_shutdown().
* myslang.h: Remove slang_done_screen(), it's unused.

View File

@ -103,13 +103,6 @@ int has_colors (void);
#define standend() SLsmg_normal_video()
#define addch(c) SLsmg_write_char(c)
#define addstr(s) SLsmg_write_string(s)
#define initscr() do { extern int force_ugly_line_drawing; \
extern int SLtt_Has_Alt_Charset; \
SLtt_get_terminfo (); \
if (force_ugly_line_drawing) \
SLtt_Has_Alt_Charset = 0; \
SLsmg_init_smg (); \
} while(0)
#define refresh() SLsmg_refresh()
#define mvaddstr(y, x, s) SLsmg_gotorc(y, x); SLsmg_write_string(s)
#define endwin() SLsmg_reset_smg()