summaryrefslogtreecommitdiffstats
path: root/sys/sys/ioccom.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-09 05:17:44 +0000
committerobrien <obrien@FreeBSD.org>2002-04-09 05:17:44 +0000
commit119047c2ee4fda1cc7544ca4e7dba0fd02c7f445 (patch)
treefdb66a021e6f91c307596862a7e8fab9360a15f5 /sys/sys/ioccom.h
parent0b5e15cef7e330c83d47d2a7a5a4e738694c1324 (diff)
downloadFreeBSD-src-119047c2ee4fda1cc7544ca4e7dba0fd02c7f445.zip
FreeBSD-src-119047c2ee4fda1cc7544ca4e7dba0fd02c7f445.tar.gz
Back out rev 1.11. People want a FUBARed prototype that breaks many
things.
Diffstat (limited to 'sys/sys/ioccom.h')
-rw-r--r--sys/sys/ioccom.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/ioccom.h b/sys/sys/ioccom.h
index c6e00df..b767e57 100644
--- a/sys/sys/ioccom.h
+++ b/sys/sys/ioccom.h
@@ -67,7 +67,12 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
-int ioctl(int, unsigned long, ...);
+/*
+ * 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, ...);
__END_DECLS
#endif
OpenPOWER on IntegriCloud