Date: Mon, 08 Apr 2002 22:17:51 -0600 (MDT) From: "M. Warner Losh" <imp@village.org> To: kris@obsecurity.org Cc: jhb@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, obrien@FreeBSD.org Subject: Re: cvs commit: src/sys/sys ioccom.h Message-ID: <20020408.221751.81468575.imp@village.org> In-Reply-To: <20020408.221017.117026133.imp@village.org> References: <XFMail.20020408235150.jhb@FreeBSD.org> <20020408210151.B18407@xor.obsecurity.org> <20020408.221017.117026133.imp@village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020408210151.B18407@xor.obsecurity.org>
Kris Kennaway <kris@obsecurity.org> writes:
: It was broken by r1.11 of ioccom.h as stated, AFAICT. gcc apparently
: treats ioctl() and (ioctl)() as different prototypes.
Actually, I don't think you are right. I just tried:
int ioctl(int, unsigned long, ...);
int (ioctl)(int, unsigned long, ...);
and gcc didn't complain at all, even with -Wall
I'll bet money that 1.10 actually broke things since they were done so
close together. 1.10 change things from
int ioctl __P((int, unsigned long, ...));
to
int ioctl(int, unsigned long, ...);
Can someone send me the ACTUAL code that this breaks? Every time I've
asked on IRC I haven't gotten an answer that I can use to track down
the real problem.
Warner
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020408.221751.81468575.imp>
