summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-08 21:46:35 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-08 21:46:35 -0800
commitb024a9466a0e238e053d0464f4a4f9b19d04648b (patch)
tree3483eb4a4d2b0180f5f0ec8d7c17b2ec81b039ca /src/term.c
parente6ca6543685fded0d1b3322dd06d0fa70d3e2a44 (diff)
* term.c, tparam.h (tgetflag, tgetnum, tgetstr): Move the const to the .h file
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/term.c b/src/term.c
index 9531cce5f9..e9e880a0c7 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1306,18 +1306,6 @@ static char **term_get_fkeys_address;
static KBOARD *term_get_fkeys_kboard;
static Lisp_Object term_get_fkeys_1 (void);
-/* Rework termcap API to accept const pointer args. */
-static inline int my_tgetflag (const char *x) { return tgetflag ((char *) x); }
-static inline int my_tgetnum (const char *x) { return tgetnum ((char *) x); }
-static inline char *my_tgetstr (const char *x, char **a)
-{ return tgetstr ((char *) x, a); }
-#undef tgetflag
-#undef tgetnum
-#undef tgetstr
-#define tgetflag my_tgetflag
-#define tgetnum my_tgetnum
-#define tgetstr my_tgetstr
-
/* Find the escape codes sent by the function keys for Vinput_decode_map.
This function scans the termcap function key sequence entries, and
adds entries to Vinput_decode_map for each function key it finds. */