Subject: Re: Error compiling tputs.c, conflicting types
To: Jake Hamby <jehamby@lightside.com>
From: Yoshihisa Sugimoto <sugimoto@bellebsd.shiga-med.ac.jp>
List: current-users
Date: 09/22/1995 14:10:17
At  4:03 PM 95.9.21 -0700, Jake Hamby wrote:
>When compiling tputs.c in libterm from NetBSD-current, it croaked with 
>this error:
>
>===> libterm
>cc -O -DCM_N -DCM_GT -DCM_B -DCM_D  -c termcap.c 
>cc -O -DCM_N -DCM_GT -DCM_B -DCM_D  -c tgoto.c 
>cc -O -DCM_N -DCM_GT -DCM_B -DCM_D  -c tputs.c 
>tputs.c:69: conflicting types for `tputs'
>/usr/include/curses.h:338: previous declaration of `tputs'

You should make and install /usr/src/lib/libcurses or change
/usr/include/curses.h.
An "int" of line 338 should be "void".

Yoshihisa Sugimoto
sugimoto@bellebsd.shiga-med.ac.jp / NetBSD/i386