mdf
21f7c1b29f
- Define true and false in sys/types.h for _KERNEL consumers, and
...
typedef bool. Due to macro expansion it seemed better to use a
typedef for kernel consumers (specifically ofed won't compile
without more changes if a define is used).
- <stdbool.h> should also not re-define bool/true/false if they are
defined by <sys/types.h>. It would probably be a programming error
to define _KERNEL for user-space code, but downstream consumers
like Isilon have already been including <stdbool.h> in kernel
sources, and this protects that usage.
- sizeof(_Bool) is not necessarily the same as sizeof(int), so kernel
modules should be rebuild with this change. Bump __FreeBSD_version.
MFC after: 2 weeks
Sponsored by: Isilon Systems, LLC
2011-12-12 18:44:17 +00:00
..
2010-07-06 03:48:46 +00:00
2008-08-06 14:02:05 +00:00
2010-02-16 19:46:46 +00:00
2011-07-10 14:03:13 +00:00
2010-02-16 19:39:50 +00:00
2011-11-20 14:45:42 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2011-01-09 21:39:46 +00:00
2011-10-17 05:41:03 +00:00
2011-11-13 17:07:26 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-03-24 15:59:51 +00:00
2007-11-28 22:09:12 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:28:10 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:28:10 +00:00
2011-02-25 00:04:39 +00:00
2011-10-21 06:41:46 +00:00
2010-03-31 02:12:24 +00:00
2011-09-27 16:33:17 +00:00
2009-10-05 07:11:19 +00:00
2009-10-06 14:05:57 +00:00
2011-03-04 19:28:27 +00:00
2011-11-20 14:45:42 +00:00
2011-11-20 14:45:42 +00:00
2006-06-30 20:57:41 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2007-01-06 11:30:04 +00:00
2010-02-16 19:39:50 +00:00
2010-04-04 08:31:03 +00:00
2010-02-16 19:28:10 +00:00
2010-02-16 19:39:50 +00:00
2010-04-04 08:31:03 +00:00
2011-02-25 00:04:39 +00:00
2011-03-06 17:45:37 +00:00
2011-02-07 21:26:46 +00:00
2011-01-06 03:30:16 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-11-13 10:38:06 +00:00
2010-02-16 19:39:50 +00:00
2007-06-03 17:20:27 +00:00
2010-02-16 19:39:50 +00:00
2011-11-20 14:45:42 +00:00
2010-01-05 02:37:59 +00:00
2010-02-16 19:39:50 +00:00
2011-02-20 09:52:29 +00:00
2008-06-19 07:30:32 +00:00
2010-02-16 19:39:50 +00:00
2011-12-12 18:44:17 +00:00
2010-02-16 19:39:50 +00:00
2011-11-13 16:18:48 +00:00
2011-12-07 21:17:50 +00:00
2010-02-16 19:39:50 +00:00
2010-01-04 18:46:54 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-11-02 17:00:56 +00:00
2007-02-02 18:30:23 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2010-02-16 19:39:50 +00:00
2011-03-05 12:40:35 +00:00
2010-09-30 03:16:35 +00:00
2010-02-16 19:39:50 +00:00
2010-01-13 17:29:55 +00:00
2008-09-15 23:47:19 +00:00
2010-02-16 19:39:50 +00:00
2011-11-13 16:18:48 +00:00
2011-11-12 20:45:10 +00:00
2011-11-20 14:45:42 +00:00