ports/sysutils/logtool/files/patch-src_readconf.c
Stefan Eßer 6fc230b634 Fix build with -fno-common
While here add license (GPLv2)
2020-09-22 13:28:40 +00:00

13 lines
299 B
C

--- src/readconf.c.orig 2003-04-17 11:12:41 UTC
+++ src/readconf.c
@@ -19,6 +19,10 @@
*/
#include "includes.h"
+
+CONFIG cf;
+STRUCTURE_REGEXS reg;
+
void lt_set_config_err(char *option, char *val) {
printf("Error: invalid value [%s] to option [%s] in cfg file\n", val, option);
exit (1);