Compiler & warning related updates/fixes from Nelson
[sxemacs] / src / ui / TTY / terminfo.c
index 5cef1a9..ae5a8b8 100644 (file)
@@ -64,7 +64,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
    is equally lame in that it supplies "fixed" headers for curses.h
    but not term.h.) However, it seems to work to just not include
    term.h under Solaris, so we try that.  KLUDGE! */
-#ifdef TERN_H_FILE
+#ifdef TERM_H_FILE
 #if !(defined (__GNUC__) && defined (SOLARIS2))
 #include TERM_H_FILE
 #endif
@@ -79,6 +79,9 @@ extern char *tparm(const char *string, int arg1, int arg2, int arg3,
 
 /* 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,
+                  int arg2, int arg3, int arg4, int arg5, int arg6, int arg7,
+                  int arg8, int arg9);
 char *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)
@@ -95,4 +98,3 @@ char *emacs_tparam(const char *string, char *outstring, int len, int arg1,
        strncpy(outstring, temp, slen);
        return outstring;
 }
-