summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-22 22:36:23 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-22 22:36:23 +0000
commitc26b04727e4cbcfa7fc30b17fc1d3a0cb1a5311a (patch)
tree6f831b52259736a1732c852f373a4b10f8284ad5
parentd846883bc498312b78f9d84950c5c6c040274cee (diff)
Notes
-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 c6e00df0e3f8b..b767e573d81a7 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