Put bool into stdbool.h
This commit is contained in:
parent
b24035c51f
commit
c8abe9e1aa
2 changed files with 8 additions and 2 deletions
8
kern/libkern/stdbool.h
Normal file
8
kern/libkern/stdbool.h
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#ifndef _STDBOOL_H
|
||||||
|
#define _STDBOOL_H
|
||||||
|
|
||||||
|
/*TODO*/
|
||||||
|
typedef char bool;
|
||||||
|
enum { false = 0, true = 1 };
|
||||||
|
|
||||||
|
#endif
|
|
@ -12,5 +12,3 @@ typedef unsigned long uint64_t;
|
||||||
typedef uint64_t size_t;
|
typedef uint64_t size_t;
|
||||||
|
|
||||||
typedef uint64_t uintptr_t;
|
typedef uint64_t uintptr_t;
|
||||||
|
|
||||||
typedef u8 bool;
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue