From 1efa932e4aeb007eddb6424a90bf0fc05dba7e4d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 23 Apr 2017 00:00:37 -0400 Subject: Implement -fstype Fixes #6! --- printf.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'printf.h') diff --git a/printf.h b/printf.h index 32171ca..d57921f 100644 --- a/printf.h +++ b/printf.h @@ -17,6 +17,7 @@ #include #include +struct cmdline; struct bfs_printf_directive; /** @@ -34,11 +35,11 @@ struct bfs_printf { * * @param format * The format string to parse. - * @param cerr - * For error messages. + * @param cmdline + * The command line. * @return The parsed printf command, or NULL on failure. */ -struct bfs_printf *parse_bfs_printf(const char *format, CFILE *cerr); +struct bfs_printf *parse_bfs_printf(const char *format, const struct cmdline *cmdline); /** * Evaluate a parsed format string. -- cgit v1.2.3