summaryrefslogtreecommitdiffstats
path: root/lib/libedit/sys.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-07-17 02:14:25 +0000
committerpfg <pfg@FreeBSD.org>2014-07-17 02:14:25 +0000
commit30eedb40f8116d0b9e1474448737253ee214d44a (patch)
treef9a2b5d76dcd431fca9f52c6c575514897497474 /lib/libedit/sys.h
parent082dc1af3f2b61b464dcf541f07a5ee1969edbb2 (diff)
downloadFreeBSD-src-30eedb40f8116d0b9e1474448737253ee214d44a.zip
FreeBSD-src-30eedb40f8116d0b9e1474448737253ee214d44a.tar.gz
MFC r268502:
Sync some (mostly cosmetical) changes from NetBSD Makefile,v 1.37 tc1.c v 1.3 Rename TEST/test.c tc1.c common.c,v 1.23 pass lint on _LP64. emacs.c,v 1.22 pass lint on _LP64. filecomplete.h,v 1.8 mv NetBSD ID back from 1.9 as we don't have the widecharacter support. prompt.c,v 1.14 prompt.h,v 1.9 term.h,v 1.20 read.h,v 1.6 Update NetBSD version strings sys.h,v 1.12 Misc sun stuff. tty.c 1.31 handle EINTR in the termios operations Allow a single process to control multiple ttys (for pthreads using _REENTRANT) using multiple EditLine objects. pass lint on _LP64. Don't depend on side effects inside an assert Obtained from: NetBSD
Diffstat (limited to 'lib/libedit/sys.h')
-rw-r--r--lib/libedit/sys.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libedit/sys.h b/lib/libedit/sys.h
index 9b1f040..5c017d3 100644
--- a/lib/libedit/sys.h
+++ b/lib/libedit/sys.h
@@ -30,7 +30,7 @@
* SUCH DAMAGE.
*
* @(#)sys.h 8.1 (Berkeley) 6/4/93
- * $NetBSD: sys.h,v 1.9 2004/01/17 17:57:40 christos Exp $
+ * $NetBSD: sys.h,v 1.12 2009/08/31 00:05:43 christos Exp $
* $FreeBSD$
*/
@@ -70,6 +70,15 @@ typedef void *ioctl_t;
#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
OpenPOWER on IntegriCloud