Date: Sun, 22 Mar 1998 16:39:31 +1100 From: Bruce Evans <bde@zeta.org.au> To: ckempf@enigami.com, sprice@hiwaay.net Cc: bde@zeta.org.au, current@FreeBSD.ORG Subject: Re: Where does one report bugs? Message-ID: <199803220539.QAA24645@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> I checked out a (mostly) current system, I think. >> >> Build world fails, because /usr/src/lib/termcap/termcap.h has a prototype >> for __set_ospeed(), and tospeed.c in the same directory has a different >> definition. Update to a (fully) current system where there is no incompatibility (except in termcap.3. Oops). You also need an up to date <sys/termios.h> >To report a bug use http://www.freebsd.org/send-pr.html >The attached patch seems to fix the problem. >... >Index: tospeed.c >=================================================================== >RCS file: /u/FreeBSD/cvs/src/lib/libtermcap/tospeed.c,v >retrieving revision 1.2 >diff -u -r1.2 tospeed.c >--- tospeed.c 1995/08/05 21:22:02 1.2 >+++ tospeed.c 1998/03/22 04:58:02 >@@ -52,7 +52,7 @@ > {-1, -1} > }; > >-void __set_ospeed(speed_t speed) >+void __set_ospeed(unsigned long speed) > { > struct stable *stable; > No, it hides the problem :-). The arg type is supposed to be speed_t, but speed_t is not visible in <termcap.h>. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803220539.QAA24645>