summaryrefslogtreecommitdiffstats
path: root/util.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 /util.c
parent010a755370eeb7450c0def58a8d5830ddcca7938 (diff)
downloadbfs-41fde4795277fec5a57ecb6d43d9b39123739c3f.tar.xz
Turn on -Wstrict-prototypes
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;