aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vis-menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-menu.c b/vis-menu.c
index 946de56..444a26a 100644
--- a/vis-menu.c
+++ b/vis-menu.c
@@ -113,7 +113,7 @@ calcoffsets(void) {
}
static void
-cleanup() {
+cleanup(void) {
if (barpos == 0) fprintf(stderr, "\n");
else fprintf(stderr, "\033[G\033[K");
tcsetattr(0, TCSANOW, &tio_old);
@@ -287,7 +287,7 @@ nextrune(int inc) {
}
static void
-readstdin() {
+readstdin(void) {
char buf[sizeof text], *p, *maxstr = NULL;
size_t i, max = 0, size = 0;