X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fterminfo.c;h=ff3d9d38d58b3adc2ad29c74d0326a32ecd4e5db;hb=c9a88265cd5f978b60830d4ef5e6f8b2246c3072;hp=bc49f8cb5c53ab96f0ea2c901062baae8f612cd7;hpb=ea1ea793fe6e244ef5555ed983423a204101af13;p=chise%2Fxemacs-chise.git.1 diff --git a/src/terminfo.c b/src/terminfo.c index bc49f8c..ff3d9d3 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -24,12 +24,6 @@ Boston, MA 02111-1307, USA. */ #include -/* Define these variables that serve as global parameters to termcap, - so that we do not need to conditionalize the places in Emacs - that set them. */ - -char *UP, *BC, PC; - /* Every little bit of this God-damned file has caused all manner of headaches due to inconsistent and incorrect header files on one system or other, and we don't currently need anything here, @@ -48,7 +42,7 @@ char *UP, *BC, PC; format is different too. */ -#include CURSES_H_PATH +#include CURSES_H_FILE /* Sun, in their infinite lameness, supplies (possibly) broken headers even under Solaris. GCC feels it necessary to correct things by supplying its own headers. Unfortunately, if you build GCC under @@ -59,20 +53,20 @@ char *UP, *BC, PC; but not term.h.) However, it seems to work to just not include term.h under Solaris, so we try that. KLUDGE! */ #if !(defined (__GNUC__) && defined (SOLARIS2)) -#include TERM_H_PATH +#include TERM_H_FILE #endif extern void *xmalloc (int size); #if 0 /* If this isn't declared somewhere, too bad */ -extern char * tparm (CONST char *string, int arg1, int arg2, int arg3, +extern char * tparm (const char *string, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9); #endif /* XEmacs: renamed this function because just tparam() conflicts with ncurses (We don't use this function anyway!) */ char * -emacs_tparam (CONST char *string, char *outstring, int len, int arg1, +emacs_tparam (const char *string, char *outstring, int len, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) {