summaryrefslogtreecommitdiff
path: root/mail/greylite/files/patch-logmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/greylite/files/patch-logmsg.h')
-rw-r--r--mail/greylite/files/patch-logmsg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/greylite/files/patch-logmsg.h b/mail/greylite/files/patch-logmsg.h
new file mode 100644
index 000000000000..c81adbffc53c
--- /dev/null
+++ b/mail/greylite/files/patch-logmsg.h
@@ -0,0 +1,13 @@
+--- logmsg.h.orig 2020-12-12 20:08:48.656485000 +0000
++++ logmsg.h 2020-12-12 20:09:08.664699000 +0000
+@@ -15,8 +15,8 @@
+ #define LOG_DEBUG 7 /* debug-level messages */
+
+
+-int loglevel; /* threshold for log messages relevance */
+-char *logprefix;
++extern int loglevel; /* threshold for log messages relevance */
++extern char *logprefix;
+
+ int logmsg_init(const char *prefix);
+ int logmsg(int prio, char *fmt, ...);