summaryrefslogtreecommitdiffstats
path: root/printf.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-04-23 00:00:37 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-04-23 00:17:49 -0400
commit1efa932e4aeb007eddb6424a90bf0fc05dba7e4d (patch)
tree288ae5aa5385f985cbd4818497e01cf845591617 /printf.h
parent8df078ada9045ffceb541e224985a4e4191e1526 (diff)
downloadbfs-1efa932e4aeb007eddb6424a90bf0fc05dba7e4d.tar.xz
Implement -fstype
Fixes #6!
Diffstat (limited to 'printf.h')
-rw-r--r--printf.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/printf.h b/printf.h
index 32171ca..d57921f 100644
--- a/printf.h
+++ b/printf.h
@@ -17,6 +17,7 @@
#include <stdbool.h>
#include <stdio.h>
+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.