Patches from fixincludes

Zack Weinberg zack@wolery.cumb.org
Sat Jan 22 09:21:00 GMT 2000


On Sat, Jan 22, 2000 at 06:06:07PM +0100, Thorsten Kukuk wrote:
> On Sat, Jan 22, Thorsten Kukuk wrote:
> 
> > On Sat, Jan 22, Andreas Jaeger wrote:
> > 
> > > 
> > > Zack forwarded me the following patches which have come AFAIK from
> > > complaints by gcc's fixincludes.
> > > 
> > > Btw. are those _IOWR macros in rpc_des.h correct?
> > 
> > I don't know. But we should remove rpc_des.h, I don't know of any
> > reference or source which use it.
> 
> Sorry, I was wrong. rpc_des.h is in use by glibc. But it seems
> the both _IOWR macros are not necessary. I will check this.

FreeBSD has the same header but the _IOWR macros are #ifdefed out.

If you do the same, you still need to change _IOWR(d, ...) to
_IOWR('d', ...) - fixincludes doesn't know about #if 0.

zw


More information about the Libc-alpha mailing list