mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* sldisply.c (Color_Def_Type): Make const.
* slsmg.c (Fake_Alt_Char_Pairs): Likewise. * sltermin.c (Tgetstr_Map_Type): Likewise. * slutty.c (Baud_Rate_Type): Likewise.
This commit is contained in:
parent
3d95a5fa29
commit
318a346055
@ -1,3 +1,10 @@
|
|||||||
|
2002-10-07 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
|
* sldisply.c (Color_Def_Type): Make const.
|
||||||
|
* slsmg.c (Fake_Alt_Char_Pairs): Likewise.
|
||||||
|
* sltermin.c (Tgetstr_Map_Type): Likewise.
|
||||||
|
* slutty.c (Baud_Rate_Type): Likewise.
|
||||||
|
|
||||||
2002-10-07 Pavel Roskin <proski@gnu.org>
|
2002-10-07 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
Update to S-Lang 1.4.5. Move include files to "include"
|
Update to S-Lang 1.4.5. Move include files to "include"
|
||||||
|
@ -911,7 +911,7 @@ void SLtt_del_eol (void)
|
|||||||
del_eol ();
|
del_eol ();
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct
|
typedef const struct
|
||||||
{
|
{
|
||||||
char *name;
|
char *name;
|
||||||
SLtt_Char_Type color;
|
SLtt_Char_Type color;
|
||||||
|
@ -959,12 +959,13 @@ void SLsmg_touch_screen (void)
|
|||||||
|
|
||||||
|
|
||||||
#ifndef IBMPC_SYSTEM
|
#ifndef IBMPC_SYSTEM
|
||||||
static char Fake_Alt_Char_Pairs [] = "a:j+k+l+m+q-t+u+v+w+x|n+`+f\\g#~o,<+>.v-^h#0#";
|
static const char Fake_Alt_Char_Pairs [] = "a:j+k+l+m+q-t+u+v+w+x|n+`+f\\g#~o,<+>.v-^h#0#";
|
||||||
|
|
||||||
static void init_alt_char_set (void)
|
static void init_alt_char_set (void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
unsigned char *p, *pmax, ch;
|
unsigned const char *p, *pmax;
|
||||||
|
unsigned char ch;
|
||||||
|
|
||||||
if (Alt_Char_Set[128] == 128) return;
|
if (Alt_Char_Set[128] == 128) return;
|
||||||
|
|
||||||
|
@ -335,7 +335,7 @@ SLterminfo_Type *_SLtt_tigetent (char *term)
|
|||||||
# define UNTIC_COMMENT(x)
|
# define UNTIC_COMMENT(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef const struct
|
||||||
{
|
{
|
||||||
char name[3];
|
char name[3];
|
||||||
int offset;
|
int offset;
|
||||||
|
@ -91,7 +91,7 @@ typedef struct termios TTY_Termio_Type;
|
|||||||
static TTY_Termio_Type Old_TTY;
|
static TTY_Termio_Type Old_TTY;
|
||||||
|
|
||||||
#ifdef HAVE_TERMIOS_H
|
#ifdef HAVE_TERMIOS_H
|
||||||
typedef struct
|
typedef const struct
|
||||||
{
|
{
|
||||||
unsigned int key;
|
unsigned int key;
|
||||||
unsigned int value;
|
unsigned int value;
|
||||||
|
Loading…
Reference in New Issue
Block a user