aboutsummaryrefslogtreecommitdiff
path: root/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'print.h')
-rw-r--r--print.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/print.h b/print.h
index 09a30f6..9a0439b 100644
--- a/print.h
+++ b/print.h
@@ -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))