diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-29 12:45:37 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-29 12:45:37 -0700 |
| commit | bc813df3d749971ade565a7cf34aedae6787dc44 (patch) | |
| tree | 83ebd4020fa82769af3315ab415d0aaace4c7420 /files.h | |
| parent | db969f34a99b5ab5efd3a82d3c6d5a8e9be6f2da (diff) | |
Tweaks and optimizations
Diffstat (limited to 'files.h')
| -rw-r--r-- | files.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
