hfi1: replace true/false defines by stddef include
This commit is contained in:
committed by
Balazs Gerofi
parent
5c11ff0950
commit
67529f21ff
@@ -9,6 +9,7 @@
|
|||||||
#include <arch-lock.h>
|
#include <arch-lock.h>
|
||||||
#include <page.h>
|
#include <page.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <lwk/stddef.h>
|
||||||
|
|
||||||
//#define VERBOSE_DEBUG
|
//#define VERBOSE_DEBUG
|
||||||
|
|
||||||
@@ -220,8 +221,6 @@ typedef unsigned int uint;
|
|||||||
|
|
||||||
/* TODO: There should be a header file that I can include */
|
/* TODO: There should be a header file that I can include */
|
||||||
typedef _Bool bool;
|
typedef _Bool bool;
|
||||||
#define false 0
|
|
||||||
#define true !false
|
|
||||||
|
|
||||||
/* TODO: double check this typedef */
|
/* TODO: double check this typedef */
|
||||||
typedef u64 dma_addr_t;
|
typedef u64 dma_addr_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user