Print this page
9633 cxgbe should not reinvent the bool
*** 28,37 ****
--- 28,38 ----
#include <sys/byteorder.h>
#include <sys/cmn_err.h>
#include <sys/pcie.h>
#include <sys/sysmacros.h>
#include <sys/inttypes.h>
+ #include <sys/stdbool.h>
/* sys/user.h defines u, and that bothers us. */
#undef u
#define isdigit(x) ((x) >= '0' && (x) <= '9')
*** 184,197 ****
typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
- typedef boolean_t bool;
- #define true B_TRUE
- #define false B_FALSE
-
#if defined(__sparc)
#define __BIG_ENDIAN_BITFIELD
#define PAGE_SIZE 8192
#define PAGE_SHIFT 13
#define CACHE_LINE 64
--- 185,194 ----