summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-01-17 16:51:18 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-01-18 12:27:29 -0500
commitfec892981ff8631ee380761c4b9ee640c9e93509 (patch)
treeb664376790b9fd1f25b7b6ce496b34341edd866d
parente717edc1ac08e93cd2cc6990de4ae7d5602066e4 (diff)
downloadbfs-fec892981ff8631ee380761c4b9ee640c9e93509.tar.xz
Add some missing (void)'s
-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');