freebsd-ports/net-mgmt/iftop/files/patch-ui__common.c
Vasil Dimov 77132aba6f net-mgmt/iftop: fix build with -fno-common (clang11/gcc10)
PR:		248743
Submitted by:	dim
MFH:		2020Q3 (build fix)
2020-09-01 11:50:20 +00:00

15 lines
333 B
C

--- ui_common.c.orig 2014-01-05 18:40:46 UTC
+++ ui_common.c
@@ -17,6 +17,12 @@
#include "ui_common.h"
+sorted_list_type screen_list;
+host_pair_line totals;
+int peaksent, peakrecv, peaktotal;
+hash_type* screen_hash;
+hash_type* service_hash;
+
/* 2, 10 and 40 seconds */
int history_divs[HISTORY_DIVISIONS] = {1, 5, 20};