Back out revision 1.11 which wrapped the ioctl prototype w/()'s.
While it may have allowed the XFree86 4 port to build; it killed TONS of other ports. The XFree86 4 can be patched to not use its macro a lot easier than figuring how to deal with 1000 other now-broken ports.
This commit is contained in:
parent
6409bf9271
commit
1de038230a
@ -67,12 +67,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
/*
|
||||
* use parens around the ioctl so that people can define ioctl as a macro.
|
||||
* Note: This will go away in the future, as soon as the current abusers
|
||||
* have been fixed.
|
||||
*/
|
||||
int (ioctl)(int, unsigned long, ...);
|
||||
int ioctl(int, unsigned long, ...);
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user