View | Details | Raw Unified | Return to bug 248743
Collapse All | Expand All

(-)net-mgmt/iftop/files/patch-ui__common.c (+15 lines)
Line 0 Link Here
1
--- ui_common.c.orig	2014-01-05 18:40:46 UTC
2
+++ ui_common.c
3
@@ -17,6 +17,12 @@
4
 
5
 #include "ui_common.h"
6
 
7
+sorted_list_type screen_list;
8
+host_pair_line totals;
9
+int peaksent, peakrecv, peaktotal;
10
+hash_type* screen_hash;
11
+hash_type* service_hash;
12
+
13
 /* 2, 10 and 40 seconds */
14
 int history_divs[HISTORY_DIVISIONS] = {1, 5, 20};
15
 
(-)net-mgmt/iftop/files/patch-ui__common.h (+20 lines)
Line 0 Link Here
1
--- ui_common.h.orig	2014-01-01 14:17:08 UTC
2
+++ ui_common.h
3
@@ -33,12 +33,12 @@ typedef struct host_pair_line_tag {
4
 
5
 extern options_t options;
6
 
7
-sorted_list_type screen_list;
8
-host_pair_line totals;
9
-int peaksent, peakrecv, peaktotal;
10
+extern sorted_list_type screen_list;
11
+extern host_pair_line totals;
12
+extern int peaksent, peakrecv, peaktotal;
13
 extern history_type history_totals;
14
-hash_type* screen_hash;
15
-hash_type* service_hash;
16
+extern hash_type* screen_hash;
17
+extern hash_type* service_hash;
18
 
19
 void analyse_data(void);
20
 void screen_list_init(void);

Return to bug 248743