diff options
author | Oskar <[email protected]> | 2024-03-07 21:41:07 +0100 |
---|---|---|
committer | Oskar <[email protected]> | 2024-03-07 21:41:07 +0100 |
commit | 256bf3acc9c21c55c955824f1a00bc7cba6b85a8 (patch) | |
tree | 1a7697a839ded229057c2e94762d8b12a2ec9b1a /7ed.h | |
parent | 1f71f8a1e0b17260e746e86aa8b3cb3dbe42771c (diff) |
improved 7ed.c to make using the current flags a little smarter
Diffstat (limited to '7ed.h')
-rw-r--r-- | 7ed.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,6 @@ #include <stddef.h> #include <stdint.h> +#include <stdbool.h> #define BUF_SZ_256 256 #define BUF_SZ_512 512 @@ -8,6 +9,9 @@ #define BUF_SZ_4 4096 #define BUF_SZ_8 8192 +#define TRUE_7ED 0 +#define FALSE_7ED 1 + int count_lines_in_file(char filename[], uint64_t *lines); int count_lines_in_file_posix(char filename[], size_t *lines); |