diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 11:52:00 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 11:52:00 -0800 |
| commit | 4acf91f802b8b69721d76f57c305d9ada864f30f (patch) | |
| tree | 5c4627d141ae1a7a70a79361bbc9d6117d8af9f2 /print.h | |
| parent | 4b3579c968a5f6c9239ee6235f03108d80e1a2e3 (diff) | |
More bools
Diffstat (limited to 'print.h')
| -rw-r--r-- | print.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,15 +4,17 @@ #ifndef PRINT__H #define PRINT__H +#include <stdbool.h> + #include "types.h" typedef struct { file_t *file; const char *pos; int context_lines; - unsigned int needs_line_number:1; - unsigned int use_color:1; - unsigned int print_line_numbers:1; + bool needs_line_number:1; + bool use_color:1; + bool print_line_numbers:1; } printer_t; __attribute__((nonnull)) |
