diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-06-30 00:08:45 -0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-30 15:40:09 -0700 |
commit | 8403b1d597fd574e934e52401750827cf1c00de6 (patch) | |
tree | 830abcec7365b5e20e7d73c07e6756bee19f403f /estruct.h | |
parent | e5e0fbd7e76dd2e0804986302aaf39ff96c011b4 (diff) | |
download | uemacs-8403b1d597fd574e934e52401750827cf1c00de6.tar.gz |
uemacs: convert typedef struct KEYTAB to struct key_tab.
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'estruct.h')
-rw-r--r-- | estruct.h | 18 |
1 files changed, 8 insertions, 10 deletions
@@ -597,18 +597,16 @@ typedef struct { #define TTbacg (*term.t_setback) #endif -/* structure for the table of initial key bindings */ - -typedef struct { - short k_code; /* Key code */ - int (*k_fp)(int, int); /* Routine to handle it */ -} KEYTAB; - -/* structure for the name binding table */ +/* Structure for the table of initial key bindings. */ +struct key_tab { + short k_code; /* Key code */ + int (*k_fp)(int, int); /* Routine to handle it */ +}; +/* Structure for the name binding table. */ typedef struct { - char *n_name; /* name of function key */ - int (*n_func)(int, int);/* function name is bound to */ + char *n_name; /* name of function key */ + int (*n_func)(int, int); /* function name is bound to */ } NBIND; /* The editor holds deleted text chunks in the KILL buffer. The |