]> git.meshlink.io Git - meshlink/blobdiff - src/top.c
sparse fixup: warning: non-ANSI function declaration of function '...'
[meshlink] / src / top.c
index 5ca97495ff0c5eef4587eee04d669e68af980810..5207500d0c69d8a670d54c7510d160cc80c0d42e 100644 (file)
--- a/src/top.c
+++ b/src/top.c
@@ -128,7 +128,7 @@ static void update(int fd) {
        }
 }
 
-static void redraw() {
+static void redraw(void) {
        erase();
 
        mvprintw(0, 0, "Tinc %-16s  Nodes: %4d  Sort: %-8s  %s", netname, node_list.count, sortname[sortmode], cumulative ? "Cumulative" : "Current");