Put bool into stdbool.h

This commit is contained in:
Imbus 2025-09-01 23:05:23 +02:00
parent b24035c51f
commit c8abe9e1aa
2 changed files with 8 additions and 2 deletions

8
kern/libkern/stdbool.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef _STDBOOL_H
#define _STDBOOL_H
/*TODO*/
typedef char bool;
enum { false = 0, true = 1 };
#endif

View file

@ -12,5 +12,3 @@ typedef unsigned long uint64_t;
typedef uint64_t size_t;
typedef uint64_t uintptr_t;
typedef u8 bool;