From b2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca Mon Sep 17 00:00:00 2001 From: Bert Date: Sun, 11 Sep 2011 21:01:24 +0200 Subject: Added own bool type --- types.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'types.h') diff --git a/types.h b/types.h index dd85922..ddf6cf6 100644 --- a/types.h +++ b/types.h @@ -1,6 +1,11 @@ #ifndef TYPES_H #define TYPES_H +typedef enum { + false, + true +} bool; + typedef enum { MODE_IMAGE, MODE_THUMB @@ -29,7 +34,7 @@ typedef enum { typedef struct { const char *name; /* as given by user */ const char *path; /* always absolute */ - unsigned char loaded; + bool loaded; } fileinfo_t; /* timeouts in milliseconds: */ -- cgit v1.2.3