summaryrefslogtreecommitdiff
path: root/net-ftp/proftpd/files/proftpd-1.3.6c-gcc-10.patch
blob: c3ee704c085c126a7090bf014522ba394cc75a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/contrib/mod_quotatab.c
+++ b/contrib/mod_quotatab.c
@@ -50,6 +50,7 @@ typedef struct regtab_obj {
 module quotatab_module;
 
 /* Quota objects for the current session */
+quota_deltas_t quotatab_deltas;
 static quota_table_t *limit_tab = NULL;
 static quota_limit_t sess_limit;
 
--- a/contrib/mod_quotatab.h
+++ b/contrib/mod_quotatab.h
@@ -188,7 +188,7 @@ typedef struct table_obj {
 #define QUOTATAB_TALLY_SRC      0x0002
 
 /* Quota objects for the current session. */
-quota_deltas_t quotatab_deltas;
+extern quota_deltas_t quotatab_deltas;
 
 /* Function prototypes necessary for quotatab sub-modules */
 int quotatab_log(const char *, ...)