From owner-freebsd-isdn Thu Jun 18 00:27:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA05600 for freebsd-isdn-outgoing; Thu, 18 Jun 1998 00:27:51 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA05593 for ; Thu, 18 Jun 1998 00:27:47 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.8.8/8.6.9) with ESMTP id JAA04922 for ; Thu, 18 Jun 1998 09:01:49 +0200 (CEST) Message-Id: <199806180701.JAA04922@peedub.muc.de> X-Mailer: exmh version 2.0.1 12/23/97 To: freebsd-isdn@FreeBSD.ORG Subject: Re: =?us-ascii?Q?_Can=B4t?= compile CURRENT Kernel with i4b-0.62 Reply-To: Gary Jennejohn In-reply-to: Your message of "Thu, 18 Jun 1998 08:54:58 +0200." <199806180654.IAA04885@peedub.muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Jun 1998 09:01:49 +0200 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I forgot to send this to the list. Gary Jennejohn writes: >Michael Bielicki writes: >>Now I get: >> >>root@cyprus(53)# cd VDS-I/ >>root@cyprus(54)# make >>cc -c -O -m486 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit >>-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >>-Winline -Wuninitialized -ansi -nostdinc -I- -I. -I../.. -I../../../include >>-DKERNEL -include opt_global.h ../../i4b/driver/i4b_tel.c >>../../i4b/driver/i4b_tel.c:263: conflicting types for `i4btelioctl' >>../../i4b/driver/i4b_tel.c:129: previous declaration of `i4btelioctl' >>*** Error code 1 >> > >I don't use the telephone stuff, that's why I missed it. Here's a (trivial) >diff > >*** driver/i4b_tel.c.orig Thu Jun 18 08:44:56 1998 >--- driver/i4b_tel.c Thu Jun 18 08:46:34 1998 >*************** >*** 259,265 **** >--- 259,269 ---- > * i4btelioctl - device driver ioctl routine > *-------------------------------------------------------------------------- >-*/ > PDEVSTATIC int >+ #if defined(__FreeBSD_version) && __FreeBSD_version >= 300003 >+ i4btelioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) >+ #else > i4btelioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) >+ #endif > { > int error = 0; > tel_sc_t *sc = &tel_sc[minor(dev)]; > >--- >Gary Jennejohn >Home - garyj@muc.de >Work - garyj@fkr.dec.com > > --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message