X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Ftermcap.h.in;h=21c62398e0bd5f841b6a87f2408bff9f25a2be74;hp=618b0a9b8f1c2b2b285515332b2a4b2df49cb198;hb=c633e5103a29a38532cf1925257b91cea33fd090;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/include/termcap.h.in b/include/termcap.h.in index 618b0a9b..21c62398 100644 --- a/include/termcap.h.in +++ b/include/termcap.h.in @@ -31,10 +31,10 @@ * and: Eric S. Raymond * ****************************************************************************/ -/* $Id: termcap.h.in,v 1.5 1998/02/11 12:13:45 tom Exp $ */ +/* $Id: termcap.h.in,v 1.12 2000/10/08 01:06:37 tom Exp $ */ -#ifndef _TERMCAP_H -#define _TERMCAP_H 1 +#ifndef _NCU_TERMCAP_H +#define _NCU_TERMCAP_H 1 #undef NCURSES_VERSION #define NCURSES_VERSION "@NCURSES_MAJOR@.@NCURSES_MINOR@" @@ -46,22 +46,25 @@ extern "C" #include +#undef NCURSES_CONST +#define NCURSES_CONST @NCURSES_CONST@ + extern char PC; extern char *UP; extern char *BC; -extern short ospeed; +extern short ospeed; +#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 char *tgetstr(const char *, char **); - +extern int tgetflag(NCURSES_CONST char *); +extern int tgetnum(NCURSES_CONST char *); extern int tputs(const char *, int, int (*)(int)); - -extern char *tgoto(const char *, int, int); +#endif #ifdef __cplusplus } #endif -#endif /* _TERMCAP_H */ +#endif /* _NCU_TERMCAP_H */