Use (std) bool instead of custom bool types
OAI is riddled with boolean_t, FALSE, TRUE, etc. This makes no sense, as there is a standard bool type, and could lead to nasty bugs if a definition of a bool is non-standard (0 == false, true == !false). This commit removes all non-standard bools in the whole project.
This commit is contained in:
@@ -145,7 +145,7 @@ struct mac_tx_tb_management {
|
||||
struct mac_rx_tb_management {
|
||||
unsigned char *data_ptr;
|
||||
tb_size_t tb_size; // in bits
|
||||
boolean_t valid_checksum;
|
||||
bool valid_checksum;
|
||||
unsigned char first_bit; // 0 if data starts on byte boundary(b7), 1 if b6, 2 if b5, etc
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user