From 97cf726442f1cfcfd8b8a1ce5b7b1f77a50b34c3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 18 Jan 2021 11:53:37 -0800 Subject: More bools --- files.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'files.h') diff --git a/files.h b/files.h index b78e77e..f849a19 100644 --- a/files.h +++ b/files.h @@ -4,6 +4,7 @@ #ifndef FILES__H #define FILES__H +#include #include struct allocated_pat_s; // declared in types.h @@ -14,7 +15,7 @@ typedef struct file_s { char *contents, **lines, *end; size_t nlines; struct allocated_pat_s *pats; - unsigned int mmapped:1; + bool mmapped:1; } file_t; __attribute__((nonnull(2))) -- cgit v1.2.3