diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 12:12:07 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 12:12:07 +0200 |
commit | dc504fa7f8ff8672f47ad339b4d2f73d594b293a (patch) | |
tree | 98aeb15a02c8daac43506af6c436fa397a91ed15 /flowtop.c | |
parent | 25dcebb5ef63bc431a2af93126ef43ba374e1477 (diff) |
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 <tklauser@distanz.ch>
Diffstat (limited to 'flowtop.c')
-rw-r--r-- | flowtop.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } |