summaryrefslogtreecommitdiff
path: root/lib/libcurses/termcap.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-18 19:10:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-18 19:10:28 +0000
commit2ab6a45cb794e8f5ff7b3d8c9fe25b0ef0f5b669 (patch)
tree68bbd31bb6b70c640ee51637367f12996de516f7 /lib/libcurses/termcap.h
parent369038865daffb176f8616ac082675a6e8116a0f (diff)
ncurses-4.2-990116
Diffstat (limited to 'lib/libcurses/termcap.h')
-rw-r--r--lib/libcurses/termcap.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/libcurses/termcap.h b/lib/libcurses/termcap.h
index 9a0f5a642be..203a03cddb9 100644
--- a/lib/libcurses/termcap.h
+++ b/lib/libcurses/termcap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: termcap.h,v 1.2 1998/09/13 19:16:30 millert Exp $ */
+/* $OpenBSD: termcap.h,v 1.3 1999/01/18 19:09:17 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -33,10 +33,10 @@
* and: Eric S. Raymond <esr@snark.thyrsus.com> *
****************************************************************************/
-/* $From: termcap.h.in,v 1.7 1998/09/05 22:20:45 tom Exp $ */
+/* $From: termcap.h.in,v 1.10 1999/01/09 22:38:04 Uchiyama.Yasushi Exp $ */
-#ifndef _TERMCAP_H
-#define _TERMCAP_H 1
+#ifndef _NCU_TERMCAP_H
+#define _NCU_TERMCAP_H 1
#undef NCURSES_VERSION
#define NCURSES_VERSION "4.2"
@@ -49,17 +49,20 @@ extern "C"
#include <sys/types.h>
#include <termios.h>
+#undef NCURSES_CONST
+#define NCURSES_CONST
+
extern char PC;
extern char *UP;
extern char *BC;
extern speed_t ospeed;
-#if !defined(__NCURSES_H) && !defined(_TERM_H)
-extern char *tgetstr(const char *, char **);
+#if !defined(_NCU_TERM_H)
+extern char *tgetstr(NCURSES_CONST char *, char **);
extern char *tgoto(const char *, int, int);
extern int tgetent(char *, const char *);
-extern int tgetflag(const char *);
-extern int tgetnum(const char *);
+extern int tgetflag(NCURSES_CONST char *);
+extern int tgetnum(NCURSES_CONST char *);
extern int tputs(const char *, int, int (*)(int));
#endif
@@ -67,4 +70,4 @@ extern int tputs(const char *, int, int (*)(int));
}
#endif
-#endif /* _TERMCAP_H */
+#endif /* _NCU_TERMCAP_H */