ports/sysutils/logrotate/files/patch-logrotate.h
Alexey Dokuchaev 869c3b0d5f Ensure that there is only one variable definition per each object, as
the C (and C++) standards mandated for years and compilers started to
enforce as of recently (Clang 11, GCC 10).

Reported by:	pkg-fallout
2020-09-04 04:03:18 +00:00

11 lines
234 B
C

--- logrotate.h.orig 2017-10-12 15:19:41 UTC
+++ logrotate.h
@@ -80,7 +80,7 @@
TAILQ_ENTRY(logInfo) list;
};
-TAILQ_HEAD(logInfoHead, logInfo) logs;
+TAILQ_HEAD(logInfoHead, logInfo);
extern int numLogs;
extern int debug;