diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-05-05 15:46:55 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-05-05 22:56:27 -0400 |
commit | df7d960b0d7e1f9bd8aa58654760e41b6282f78a (patch) | |
tree | 9fc241b2fd0924cacc61c91eed8cb69b6874d764 /printf.h | |
parent | 690d0467d1cb98247b72ee570dc49b225d63a5ec (diff) | |
download | bfs-df7d960b0d7e1f9bd8aa58654760e41b6282f78a.tar.xz |
bftw: Pass a const struct BFTW * to the callback
Diffstat (limited to 'printf.h')
-rw-r--r-- | printf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ struct bfs_printf *parse_bfs_printf(const char *format, struct cmdline *cmdline) * must be non-NULL. * @return 0 on success, -1 on failure. */ -int bfs_printf(FILE *file, const struct bfs_printf *command, struct BFTW *ftwbuf); +int bfs_printf(FILE *file, const struct bfs_printf *command, const struct BFTW *ftwbuf); /** * Free a parsed format string. |