summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
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;