summaryrefslogtreecommitdiffstats
path: root/printf.c
diff options
context:
space:
mode:
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()");