diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-02-06 23:23:22 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-02-06 23:23:22 -0500 |
commit | 41fde4795277fec5a57ecb6d43d9b39123739c3f (patch) | |
tree | 8cf844280d5c68f65435d853d3514f2118d17cc2 /printf.c | |
parent | 010a755370eeb7450c0def58a8d5830ddcca7938 (diff) | |
download | bfs-41fde4795277fec5a57ecb6d43d9b39123739c3f.tar.xz |
Turn on -Wstrict-prototypes
Diffstat (limited to 'printf.c')
-rw-r--r-- | printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ static void free_directive(struct bfs_printf_directive *directive) { /** * Create a new printf directive. */ -static struct bfs_printf_directive *new_directive() { +static struct bfs_printf_directive *new_directive(void) { struct bfs_printf_directive *directive = malloc(sizeof(*directive)); if (!directive) { perror("malloc()"); |