From owner-cvs-lib Tue Sep 10 05:42:29 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA13331 for cvs-lib-outgoing; Tue, 10 Sep 1996 05:42:29 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA13312; Tue, 10 Sep 1996 05:42:15 -0700 (PDT) Date: Tue, 10 Sep 1996 05:42:15 -0700 (PDT) From: Peter Wemm Message-Id: <199609101242.FAA13312@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libtermcap termcap.h tputs.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/09/10 05:42:14 Modified: lib/libtermcap termcap.h tputs.c Log: Change the last -Wall cleanup so that the tputs declaration doesn't conflict with the other declarations in other files. tputs() is traditionally declared to return int, not void. curses.h has it as int. ncurses has int and actually sets the return value. This problem has been causing the ircII port to not compile. (I've only minimally tested this, I do not have libtermcap on my systems) Revision Changes Path 1.8 +2 -2 src/lib/libtermcap/termcap.h 1.7 +5 -4 src/lib/libtermcap/tputs.c