aboutsummaryrefslogtreecommitdiffstats
path: root/estruct.h
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-06-30 00:08:45 -0300
committerLinus Torvalds <torvalds@linux-foundation.org>2010-06-30 15:40:09 -0700
commit8403b1d597fd574e934e52401750827cf1c00de6 (patch)
tree830abcec7365b5e20e7d73c07e6756bee19f403f /estruct.h
parente5e0fbd7e76dd2e0804986302aaf39ff96c011b4 (diff)
downloaduemacs-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.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/estruct.h b/estruct.h
index e3a9adc..333a4d9 100644
--- a/estruct.h
+++ b/estruct.h
@@ -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