ports/net/echoping/patches/patch-echoping_c

30 lines
716 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix -fno-common, https://svnweb.freebsd.org/ports?view=revision&revision=545509
Index: echoping.c
--- echoping.c.orig
+++ echoping.c
@@ -38,6 +38,23 @@ struct result results[MAX_ITERATIONS];
struct timeval good_results[MAX_ITERATIONS];
extern int tvcmp();
+
+boolean timeout_flag;
+static char *server;
+#ifdef LIBIDN
+static char *locale_server, *ace_server, *utf8_server;
+#endif
+
+static init_f plugin_init;
+static start_f plugin_start;
+static start_raw_f plugin_raw_start;
+static execute_f plugin_execute;
+static execute_f plugin_execute;
+static terminate_f plugin_terminate;
+
+struct timeval null_timeval;
+static struct timeval max_timeval;
+
int
main(argc, argv)
int argc;