summaryrefslogtreecommitdiff
path: root/mail/spamguard/files/patch-hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamguard/files/patch-hash.h')
-rw-r--r--mail/spamguard/files/patch-hash.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/spamguard/files/patch-hash.h b/mail/spamguard/files/patch-hash.h
new file mode 100644
index 000000000000..523f91af119b
--- /dev/null
+++ b/mail/spamguard/files/patch-hash.h
@@ -0,0 +1,20 @@
+--- hash.h.orig 2007-05-10 21:18:39 UTC
++++ hash.h
+@@ -18,7 +18,7 @@ struct IP_bucket {
+ char IP[RECVFROM];
+ IP_bucket *next;
+ };
+-IP_bucket* IP_bucket_arr[NUM_HASH];
++extern IP_bucket* IP_bucket_arr[NUM_HASH];
+
+
+ typedef struct bucket bucket;
+@@ -30,7 +30,7 @@ struct bucket {
+ int is_spammer;
+ bucket *next;
+ };
+-bucket* bucket_arr[NUM_HASH];
++extern bucket* bucket_arr[NUM_HASH];
+
+ extern unsigned int
+ cdbhash(char *buf, unsigned int len);