diff --git a/CHANGES b/CHANGES index 3e29e24..b65cdc2 100644 --- a/CHANGES +++ b/CHANGES @@ -12,6 +12,14 @@ Corrections: quotes Test: UNBALANCED_QUOTE +Porting: + In gcc version 10 the default changed from -fcommon to -fno-common. + Consequently, linking filan and procan failed with error + "multiple definition of `deny_severity'" and `allow_severity' + Fixed by removing definitions in filan.c and procan.c + Debian issue 957823 + Thanks to László Böszörményi and others for reporting this issue. + Testing: test.sh now produces a list of tests that could not be performed for any reason. This helps to analyse these cases. diff --git a/filan.c b/filan.c index 563bee9..c613059 100644 --- a/filan.c +++ b/filan.c @@ -28,10 +28,6 @@ struct sockopt { static int filan_streams_analyze(int fd, FILE *outfile); -/* dirty workaround so we dont get an error on AIX when being linked with - libwrap */ -int allow_severity, deny_severity; - /* global variables for configuring filan */ bool filan_followsymlinks; bool filan_rawoutput; diff --git a/procan.c b/procan.c index 9ebd423..d0d92f3 100644 --- a/procan.c +++ b/procan.c @@ -19,10 +19,6 @@ #include "procan.h" -/* dirty workaround so we dont get an error on AIX when getting linked with - libwrap */ -int allow_severity, deny_severity; - int procan(FILE *outfile) {