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 --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 1e5ebdb..2a01af1 100644 --- a/util.c +++ b/util.c @@ -272,7 +272,7 @@ bool is_nonexistence_error(int error) { } /** Read a line from standard input. */ -static char *xgetline() { +static char *xgetline(void) { char *line = dstralloc(0); if (!line) { return NULL; -- cgit v1.2.3