summaryrefslogtreecommitdiff
path: root/lib/libcurses/unctrl.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-11-26 04:02:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-11-26 04:02:03 +0000
commitbda33b7e716d56bf1a9ecccb7e2543889f9ab1d3 (patch)
tree7bc4bcdf70ecc1d045693a309e96b304e1b49c33 /lib/libcurses/unctrl.h
parentcd15e61d557c4704743905eae7b88ae927cf0394 (diff)
ncurses 4.1 + changes to work with our terminfo libs (instead of
the ncurses ones). Changes are #ifdef EXTERN_TERMINFO. Post 4.1 patches will be applied in a separate commit.
Diffstat (limited to 'lib/libcurses/unctrl.h')
-rw-r--r--lib/libcurses/unctrl.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/lib/libcurses/unctrl.h b/lib/libcurses/unctrl.h
index a503aa76a8f..32554512eb9 100644
--- a/lib/libcurses/unctrl.h
+++ b/lib/libcurses/unctrl.h
@@ -1,4 +1,3 @@
-
/***************************************************************************
* COPYRIGHT NOTICE *
****************************************************************************
@@ -31,15 +30,25 @@
* before calling unctrl() again.
*
*/
+
+/* Id: unctrl.h.in,v 1.5 1997/04/26 23:04:09 tom Exp $ */
+
#ifndef _UNCTRL_H
#define _UNCTRL_H 1
-#define NCURSES_VERSION "1.9.9e"
-#ifndef _CHTYPE_T_
-#define _CHTYPE_T_ unsigned long
-typedef _CHTYPE_T_ chtype;
+#undef NCURSES_VERSION
+#define NCURSES_VERSION "4.1"
+
+#ifdef __cplusplus
+extern "C" {
#endif
-extern char *unctrl(chtype);
+#include <curses.h>
+
+extern NCURSES_CONST char *unctrl(chtype);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* _UNCTRL_H */