diff --git a/sys/include/types.h b/sys/include/types.h index 529220f..e801fc4 100644 --- a/sys/include/types.h +++ b/sys/include/types.h @@ -1,13 +1,19 @@ #ifndef TYPES_H #define TYPES_H -#define NULL 0x0 +#define NULL 0x00 + +#define TRUE 0 +#define FALSE 1 typedef unsigned int u32; typedef unsigned short u16; typedef unsigned char u8; -typedef int s32; -typedef short s16; -typedef char s8; +typedef int s32; +typedef short s16; +typedef char s8; + +typedef unsigned int size_t; +typedef int ssize_t; #endif