mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
* xslint.c: Remove unused functions.
This commit is contained in:
parent
c2d9b832e9
commit
c1d8bfc818
@ -1,5 +1,7 @@
|
||||
2001-05-28 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* xslint.c: Remove unused functions.
|
||||
|
||||
* color.c (init_colors) [HAVE_SLANG]: Use SLtt_set_color() to
|
||||
associate the default colors with DEFAULT_COLOR_INDEX. The old
|
||||
code would unset alternative charset without making S-Lang aware
|
||||
|
49
src/xslint.c
49
src/xslint.c
@ -27,9 +27,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
interrupts_enabled (void) { return 0; }
|
||||
|
||||
void
|
||||
enable_interrupt_key(void) {}
|
||||
|
||||
@ -43,55 +40,9 @@ got_interrupt () { return 0; }
|
||||
void
|
||||
slang_init (void) {}
|
||||
|
||||
void
|
||||
slang_set_raw_mode (void) {}
|
||||
|
||||
void
|
||||
slang_prog_mode (void) {}
|
||||
|
||||
void
|
||||
slang_shell_mode (void) {}
|
||||
|
||||
void
|
||||
slang_shutdown () {}
|
||||
|
||||
void
|
||||
slang_keypad (int set) {}
|
||||
|
||||
void
|
||||
set_slang_delay (int v) {}
|
||||
|
||||
void
|
||||
hline (int ch, int len) {}
|
||||
|
||||
void
|
||||
vline (int character, int len) {}
|
||||
|
||||
#ifndef HAVE_GNOME
|
||||
void
|
||||
init_pair (int index, char *foreground, char *background) {}
|
||||
#endif
|
||||
|
||||
int has_colors ()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
attrset (int color) { }
|
||||
|
||||
void
|
||||
do_define_key (int code, char *strcap) {}
|
||||
|
||||
void
|
||||
load_terminfo_keys () {}
|
||||
|
||||
int
|
||||
getch ()
|
||||
{
|
||||
return getchar ();
|
||||
}
|
||||
|
||||
void
|
||||
mc_refresh (void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user