summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 940b7e4..6d6072a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -10,6 +10,8 @@ typedef long DATA;
typedef long NUM;
typedef unsigned long long UNUM; /* definitely bigger than size_t */
+typedef unsigned char BOOL;
+
#define HC_ATTR __attribute__((__hot__, __const__))
#define H_ATTR __attribute__((__hot__))
@@ -31,6 +33,6 @@ typedef unsigned long long UNUM; /* definitely bigger than size_t */
#define fleprintf0(M) eprintf("%s:%d, " M, __FILE__, __LINE__)
#define fleprintf(M, ...) eprintf("%s:%d, " M, __FILE__, __LINE__, __VA_ARGS__)
-unsigned char read_entire_file(const char *file_name, char **str, NUM *len);
+BOOL read_entire_file(const char *file_name, char **str, NUM *len);
#endif