Bug #9633

cxgbe should not reinvent the bool

Added by Yuri Pankov about 2 months ago.

Status:In ProgressStart date:2018-06-30
Priority:NormalDue date:
Assignee:Yuri Pankov% Done:

50%

Category:driver - device drivers
Target version:-
Difficulty:Bite-size Tags:

Description

usr/src/uts/common/io/cxgbe/t4nex/osdep.h has the following defined unconditionally:

typedef boolean_t       bool;
#define true            B_TRUE
#define false           B_FALSE

which breaks the build if some of the system headers are modified to include <sys/stdbool.h>.

Also available in: Atom