From dc504fa7f8ff8672f47ad339b4d2f73d594b293a Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 26 Apr 2016 12:12:07 +0200 Subject: flowtop: Remove unused parameters from draw_help() and draw_footer() The WINDOW *screen parameter to draw_help() and draw_footer() is unused, so remove it. Signed-off-by: Tobias Klauser --- flowtop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flowtop.c b/flowtop.c index b30b0bb..848fd6a 100644 --- a/flowtop.c +++ b/flowtop.c @@ -1151,7 +1151,7 @@ static void draw_flows(WINDOW *screen, struct flow_list *fl, rcu_read_unlock(); } -static void draw_help(WINDOW *screen) +static void draw_help(void) { int col = 0; int row = 1; @@ -1212,7 +1212,7 @@ static void draw_header(WINDOW *screen) attroff(A_STANDOUT); } -static void draw_footer(WINDOW *screen) +static void draw_footer(void) { int i; @@ -1356,11 +1356,11 @@ static void presenter(void) draw_header(screen); if (show_help) - draw_help(screen); + draw_help(); else draw_flows(screen, &flow_list, skip_lines); - draw_footer(screen); + draw_footer(); usleep(80000); } -- cgit v1.2.3-54-g00ecf