* key.h (key_code_name_t): Typedef const.

This commit is contained in:
Andrew V. Samoilov 2002-07-31 00:35:06 +00:00
parent 8025b4bce4
commit a583a32a73
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* ext.c (regex_command): Don't check same condition twice. * ext.c (regex_command): Don't check same condition twice.
(exec_extension): Comment out useless loop. (exec_extension): Comment out useless loop.
* key.h (key_code_name_t): Typedef const.
2002-07-30 Pavel Roskin <proski@gnu.org> 2002-07-30 Pavel Roskin <proski@gnu.org>

View File

@ -71,7 +71,7 @@ char *learn_key (void);
/* Returns a key code (interpreted) */ /* Returns a key code (interpreted) */
int get_key_code (int nodelay); int get_key_code (int nodelay);
typedef struct { typedef const struct {
int code; int code;
char *name; char *name;
char *longname; char *longname;