]>
Commit | Line | Data |
---|---|---|
df92a33c JP |
1 | From 817449994d4acae0023c34ab045649c38a6d37eb Mon Sep 17 00:00:00 2001 |
2 | From: Bron Gondwana <brong@fastmail.fm> | |
3 | Date: Sun, 15 Jul 2018 03:34:46 +1000 | |
4 | Subject: [PATCH] conversations: move open_conversationsdb to conversations.c | |
5 | ||
6 | Thanks Chris Newman | |
7 | --- | |
8 | imap/conversations.c | 2 ++ | |
9 | imap/conversations.h | 2 +- | |
10 | 2 files changed, 3 insertions(+), 1 deletion(-) | |
11 | ||
12 | diff --git a/imap/conversations.c b/imap/conversations.c | |
13 | index 620486afc..5c96eb1bb 100644 | |
14 | --- a/imap/conversations.c | |
15 | +++ b/imap/conversations.c | |
16 | @@ -100,6 +100,8 @@ | |
17 | ||
18 | #define CONVERSATIONS_VERSION 0 | |
19 | ||
20 | +struct conversations_open *open_conversations; | |
21 | + | |
22 | static conv_status_t NULLSTATUS = { 0, 0, 0}; | |
23 | ||
24 | static char *convdir = NULL; | |
25 | diff --git a/imap/conversations.h b/imap/conversations.h | |
26 | index 179969f0a..cd77df856 100644 | |
27 | --- a/imap/conversations.h | |
28 | +++ b/imap/conversations.h | |
29 | @@ -78,7 +78,7 @@ struct conversations_open { | |
30 | struct conversations_open *next; | |
31 | }; | |
32 | ||
33 | -struct conversations_open *open_conversations; | |
34 | +extern struct conversations_open *open_conversations; | |
35 | ||
36 | typedef struct conversation conversation_t; | |
37 | typedef struct conv_folder conv_folder_t; |