freeswitch/libs/libedit/patches/07-el_term.h.patch

19 lines
593 B
Diff
Raw Normal View History

--- export/src/el_term.h 2007-03-02 22:26:59.000000000 +0100
+++ ../src/el_term.h 2007-03-02 22:38:45.000000000 +0100
@@ -81,6 +81,15 @@
#define A_K_EN 5
#define A_K_NKEYS 6
+#ifdef _SUNOS
+extern int tgetent(char *, const char *);
+extern int tgetflag(char *);
+extern int tgetnum(char *);
+extern int tputs(const char *, int, int (*)(int));
+extern char* tgoto(const char*, int, int);
+extern char* tgetstr(char*, char**);
+#endif
+
protected void term_move_to_line(EditLine *, int);
protected void term_move_to_char(EditLine *, int);
protected void term_clear_EOL(EditLine *, int);