Date: Mon, 2 Sep 1996 01:56:14 +1000 From: Bruce Evans <bde@zeta.org.au> To: ache@nagual.ru, adam@veda.is Cc: bde@zeta.org.au, current@FreeBSD.ORG Subject: Re: bin/1560: Message-ID: <199609011556.BAA11004@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> > > > /usr/include/termcap.h declares tputs() as type void, whereas in >> > ... >> > Uh, this means *curses needs to be brought into sync, right? >> >> Ncurses declare it as void too. Old curses+termlib will be removed >> in future. >Too much trouble. You would have to increment the libc.so's major number >:-). Something might be depending on tputs() to return a value (perhaps >even a garbage value) like it was declared to. >really? >$ rm -r /usr/include; make hierarchy includes >$ grep --eyeball tputs /usr/include/*.h >/usr/include/curses.h:int tputs __P((const char *, int, void (*)(int))); >/usr/include/curses.h:int tputs __P((const char *, int, int (*)(int))); >/usr/include/ncurses.h:extern int tputs(const char *,int,int (*)(int)); >/usr/include/term.h:extern int del_curterm __P((TERMINAL *)), tputs __P((const char *, int, int (*)(int))); >/usr/include/termcap.h:extern void tputs __P((const char *, int, int (*)(int))); These are for `old' curses. curses_termin.3 gives an inconsistent prototype for tputs(). It has the function type wrong this time. I fixed this but didn't commit the fix because old curses was to go away RSN :-). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609011556.BAA11004>