hfi1: replace true/false defines by stddef include

This commit is contained in:
Dominique Martinet
2017-09-21 18:02:43 +09:00
committed by Balazs Gerofi
parent 5c11ff0950
commit 67529f21ff

View File

@@ -9,6 +9,7 @@
#include <arch-lock.h>
#include <page.h>
#include <string.h>
#include <lwk/stddef.h>
//#define VERBOSE_DEBUG
@@ -220,8 +221,6 @@ typedef unsigned int uint;
/* TODO: There should be a header file that I can include */
typedef _Bool bool;
#define false 0
#define true !false
/* TODO: double check this typedef */
typedef u64 dma_addr_t;