summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tinyff/result.h6
-rw-r--r--include/tinyff/stream.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/include/tinyff/result.h b/include/tinyff/result.h
index b2bf31c..7609f59 100644
--- a/include/tinyff/result.h
+++ b/include/tinyff/result.h
@@ -1,9 +1,11 @@
#ifndef RESULT_H
#define RESULT_H
+#include <stdbool.h>
+
typedef enum {
- FF_TRUE = 0,
- FF_FALSE = 1
+ FF_TRUE = true,
+ FF_FALSE = false
} FF_FLAG;
typedef enum {
diff --git a/include/tinyff/stream.h b/include/tinyff/stream.h
index 9f12784..d8705dd 100644
--- a/include/tinyff/stream.h
+++ b/include/tinyff/stream.h
@@ -2,7 +2,6 @@
#define STREAM_H
#include <stddef.h>
-#include <stdio.h>
#define FF_NULL_STREAM {0}