summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mtab.c2
-rw-r--r--util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mtab.c b/mtab.c
index cb6a59a..8eb90bb 100644
--- a/mtab.c
+++ b/mtab.c
@@ -102,7 +102,7 @@ fail:
return -1;
}
-struct bfs_mtab *bfs_mtab_parse() {
+struct bfs_mtab *bfs_mtab_parse(void) {
struct bfs_mtab *mtab = malloc(sizeof(*mtab));
if (!mtab) {
return NULL;
diff --git a/util.c b/util.c
index 2780447..fa7a5b6 100644
--- a/util.c
+++ b/util.c
@@ -312,7 +312,7 @@ static int xrpmatch(const char *response) {
}
}
-int ynprompt() {
+int ynprompt(void) {
fflush(stderr);
char *line = xgetdelim(stdin, '\n');