aboutsummaryrefslogtreecommitdiff
path: root/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'files.h')
-rw-r--r--files.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/files.h b/files.h
index c3ee37d..6dc00fa 100644
--- a/files.h
+++ b/files.h
@@ -10,14 +10,14 @@
#define file_err(f, ...) do { fprint_line(stderr, f, __VA_ARGS__); exit(EXIT_FAILURE); } while(false)
-struct allocated_pat_s; // declared in types.h
+struct pat_s; // declared in types.h
typedef struct file_s {
struct file_s *next;
const char *filename;
char *memory, **lines, *start, *end;
size_t nlines;
- struct allocated_pat_s *pats;
+ struct pat_s *pats;
bool mmapped:1;
} file_t;