summaryrefslogtreecommitdiffstats
path: root/printf.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-05-05 15:46:55 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-05-05 22:56:27 -0400
commitdf7d960b0d7e1f9bd8aa58654760e41b6282f78a (patch)
tree9fc241b2fd0924cacc61c91eed8cb69b6874d764 /printf.h
parent690d0467d1cb98247b72ee570dc49b225d63a5ec (diff)
downloadbfs-df7d960b0d7e1f9bd8aa58654760e41b6282f78a.tar.xz
bftw: Pass a const struct BFTW * to the callback
Diffstat (limited to 'printf.h')
-rw-r--r--printf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/printf.h b/printf.h
index d62770e..3bbbcd2 100644
--- a/printf.h
+++ b/printf.h
@@ -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.