X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fterminfo.c;h=639f675fc2a7a5c9ec92545c561aa38d485013bb;hb=aa982acf01b4e35675a624d78c9e5ee109c1203e;hp=bc49f8cb5c53ab96f0ea2c901062baae8f612cd7;hpb=376658ea71d16dced8acff36c3e385ac3738d868;p=chise%2Fxemacs-chise.git diff --git a/src/terminfo.c b/src/terminfo.c index bc49f8c..639f675 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -48,7 +48,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 +59,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) {