summaryrefslogtreecommitdiff
path: root/mail/spamguard/files/patch-loadconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamguard/files/patch-loadconfig.h')
-rw-r--r--mail/spamguard/files/patch-loadconfig.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/mail/spamguard/files/patch-loadconfig.h b/mail/spamguard/files/patch-loadconfig.h
new file mode 100644
index 000000000000..e298891d7358
--- /dev/null
+++ b/mail/spamguard/files/patch-loadconfig.h
@@ -0,0 +1,42 @@
+--- loadconfig.h.orig 2007-05-14 15:19:00 UTC
++++ loadconfig.h
+@@ -12,23 +12,23 @@ enum {
+ VALSIZE = 256
+ };
+
+-int wcnt;
+-int bcnt;
+-int pcnt;
+-int enable_subj_filt;
++extern int wcnt;
++extern int bcnt;
++extern int pcnt;
++extern int enable_subj_filt;
+
+-char logtype[VALSIZE];
+-char logfile[VALSIZE];
+-char ignorefile[VALSIZE];
+-char highfile[VALSIZE];
+-char badmailfile[VALSIZE];
+-char hostname[VALSIZE];
+-char sysadmin[VALSIZE];
+-char statfile[VALSIZE];
+-char mail_command[VALSIZE];
+-char makemap_command[VALSIZE];
+-char qsheff_rules_file[VALSIZE];
+-char trim_subj_str[VALSIZE];
++extern char logtype[VALSIZE];
++extern char logfile[VALSIZE];
++extern char ignorefile[VALSIZE];
++extern char highfile[VALSIZE];
++extern char badmailfile[VALSIZE];
++extern char hostname[VALSIZE];
++extern char sysadmin[VALSIZE];
++extern char statfile[VALSIZE];
++extern char mail_command[VALSIZE];
++extern char makemap_command[VALSIZE];
++extern char qsheff_rules_file[VALSIZE];
++extern char trim_subj_str[VALSIZE];
+
+ void
+ loadconfig(const char *);