summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-04-26 10:47:19 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-04-26 12:05:42 +0200
commit25dcebb5ef63bc431a2af93126ef43ba374e1477 (patch)
tree4ca52b9769d3c01c6bb15f31c5c5bd467a864f72 /flowtop.c
parenta86e9fd6e1320fdd317b8cc604470afc8e709186 (diff)
flowtop: Remove unused parameters from draw_flow_entry()
Remove unused "screen" & "line" parameters from draw_flow_entry(). Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flowtop.c b/flowtop.c
index 20b3c25..b30b0bb 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -992,7 +992,7 @@ static void print_flow_peer_info(const struct flow_entry *n, enum flow_direction
tmp, sizeof(tmp) - 1));
}
-static void draw_flow_entry(WINDOW *scr, const struct flow_entry *n, int line)
+static void draw_flow_entry(const struct flow_entry *n)
{
char tmp[128];
@@ -1117,7 +1117,7 @@ static void draw_flows(WINDOW *screen, struct flow_list *fl,
if (--skip >= 0)
continue;
- draw_flow_entry(screen, n, line);
+ draw_flow_entry(n);
line += row_width;
}