libedit: Solaris portability fixes

__sun braced curses prototypes no longer compile on Solaris, remove them
This commit is contained in:
Luke Howard
2015-12-09 10:57:41 +11:00
parent d135020e8f
commit 54e6dbed29
3 changed files with 1 additions and 20 deletions

View File

@@ -113,15 +113,6 @@ char *fgetln(FILE *fp, size_t *len);
#define REGEX /* Use POSIX.2 regular expression functions */
#undef REGEXP /* Use UNIX V8 regular expression functions */
#if defined(__sun)
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
#ifdef notdef
# undef REGEX
# undef REGEXP