X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fttt.h;h=aaa1ed0ab4d524bd4ec7468916e315a0173acc20;hp=42b8c433c4c353431d0c3a3b4a74d9c7255d03b4;hb=15672ac8305a1c5ba0d9bf6edabb0a194c30628e;hpb=2cd70db8433cc9d02a4ca784190260889c835198 diff --git a/src/ttt.h b/src/ttt.h index 42b8c43..aaa1ed0 100644 --- a/src/ttt.h +++ b/src/ttt.h @@ -30,6 +30,7 @@ #define _GNU_SOURCE #include #include +#include #include #include #include @@ -39,8 +40,7 @@ #include #include #include -#include -#include +#include #define ASSERT_NOT_REACHED \ do { \ @@ -56,14 +56,17 @@ do { \ #define TTT_PRINTF_FORMAT(fmt_index, va_index) #endif -#include "ttt-args.h" #include "x.h" typedef int ttt_bool_t; +#define FALSE 0 +#define TRUE 1 + typedef enum { TTT_STATUS_SUCCESS = 0, - TTT_STATUS_FAILURE + TTT_STATUS_FAILURE, + TTT_STATUS_EOF } ttt_status_t; #endif