summaryrefslogtreecommitdiffstats
path: root/sys/sys/ioccom.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-09 02:22:13 +0000
committerobrien <obrien@FreeBSD.org>2002-04-09 02:22:13 +0000
commitf145b3f0f45ceb2c9e4fa29f25e223320156b800 (patch)
tree788cfbd5db15d1657b65b39170fc27af41b72048 /sys/sys/ioccom.h
parentb81b4dcf7a8c1e9fb87d45ef03235bccf4112b2f (diff)
downloadFreeBSD-src-f145b3f0f45ceb2c9e4fa29f25e223320156b800.zip
FreeBSD-src-f145b3f0f45ceb2c9e4fa29f25e223320156b800.tar.gz
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.
Diffstat (limited to 'sys/sys/ioccom.h')
-rw-r--r--sys/sys/ioccom.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/sys/ioccom.h b/sys/sys/ioccom.h
index b767e57..c6e00df 100644
--- a/sys/sys/ioccom.h
+++ b/sys/sys/ioccom.h
@@ -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
OpenPOWER on IntegriCloud