Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Re: Build Failures on SunOS-4.1 and 5.5



> /usr/include/term.h:1180: conflicting types for `tputs'

This should fix that, at least.

Index: Src/prototypes.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/prototypes.h,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 prototypes.h
--- Src/prototypes.h	2000/02/28 04:36:49	1.1.1.3
+++ Src/prototypes.h	2001/04/12 14:48:11
@@ -39,7 +39,9 @@
 extern int tgetflag _((char *id));
 extern char *tgetstr _((char *id, char **area));
 extern char *tgoto _((char *cm, int destcol, int destline));
+# ifndef HAVE_TERM_H
 extern int tputs _((char *cp, int affcnt, int (*outc) (int)));
+# endif
 #endif
 
 /* MISSING PROTOTYPES FOR VARIOUS OPERATING SYSTEMS */



Messages sorted by: Reverse Date, Date, Thread, Author