vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit e8a912582bf0e03826715f9fa92db3577a9ab568 parent 5da6061ae3449a38c20918057e2cd3cb3ac43fe0 Author: Tom Schwindl <schwindl@posteo.de> Date: Mon, 22 Aug 2022 15:56:21 +0000 vis-menu: use `void' to indicate an empty parameter list Diffstat:
| M | vis-menu.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;