diff options
author | Mattias Andrée <maandree@kth.se> | 2022-01-01 12:58:18 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-01-01 12:58:18 +0100 |
commit | 8189ba58a436ea0f396a48af48d5ae84f7019cf6 (patch) | |
tree | 74369822cf0e39629ac9acf957755460ee2ae58f /common.h | |
parent | Fix replacement character insertion for invalid UTF-8 (diff) | |
download | makel-8189ba58a436ea0f396a48af48d5ae84f7019cf6.tar.gz makel-8189ba58a436ea0f396a48af48d5ae84f7019cf6.tar.bz2 makel-8189ba58a436ea0f396a48af48d5ae84f7019cf6.tar.xz |
Move some functions into makefile.c
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -60,6 +60,12 @@ extern int exit_status; extern struct style style; +/* makefile.c */ +int open_default_makefile(const char **pathp); +void cmdline_opt_f(const char *arg, const char **makefile_pathp); +struct line *load_makefile(const char *path, size_t *nlinesp); + + /* text.c */ struct line *load_text_file(int fd, const char *fname, int nest_level, size_t *nlinesp); void check_utf8_encoding(struct line *line); |