From owner-freebsd-current Sun Sep 1 06:00:27 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA25803 for current-outgoing; Sun, 1 Sep 1996 06:00:27 -0700 (PDT) Received: from veda.is (ubiq.veda.is [193.4.230.60]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA25797 for ; Sun, 1 Sep 1996 06:00:20 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.7.5/8.7.3) id NAA03563; Sun, 1 Sep 1996 13:00:42 GMT From: Adam David Message-Id: <199609011300.NAA03563@veda.is> Subject: Re: bin/1560: To: ache@nagual.ru (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Sun, 1 Sep 1996 13:00:39 +0000 (GMT) Cc: bde@zeta.org.au, current@FreeBSD.ORG In-Reply-To: <199609010021.EAA04448@nagual.ru> from "[______ ______]" at "Sep 1, 96 04:21:08 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > > /usr/include/termcap.h declares tputs() as type void, whereas in > > > > /usr/include/*curses.h it says an integer is returned. This results > > > > in a type conflict and programs don't compile. > > > > > > Someone "cleaned up" the termcap version. It used to return a garbage > > > int. > > > > > > Bruce > > > > > > > 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. 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))); Adam