summaryrefslogtreecommitdiffstats
path: root/printf.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-02-06 23:23:22 -0500
committerTavian Barnes <tavianator@tavianator.com>2019-02-06 23:23:22 -0500
commit41fde4795277fec5a57ecb6d43d9b39123739c3f (patch)
tree8cf844280d5c68f65435d853d3514f2118d17cc2 /printf.c
parent010a755370eeb7450c0def58a8d5830ddcca7938 (diff)
downloadbfs-41fde4795277fec5a57ecb6d43d9b39123739c3f.tar.xz
Turn on -Wstrict-prototypes
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printf.c b/printf.c
index 595e9dd..b13f43f 100644
--- a/printf.c
+++ b/printf.c
@@ -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()");