From 41fde4795277fec5a57ecb6d43d9b39123739c3f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 6 Feb 2019 23:23:22 -0500 Subject: Turn on -Wstrict-prototypes --- printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'printf.c') 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()"); -- cgit v1.2.3