Fix compilation warnings and recursive inclusion.

This commit is contained in:
2020-12-19 21:53:34 +01:00
parent 1bd3f45581
commit bd05f33334
7 changed files with 47 additions and 20 deletions

View File

@@ -45,8 +45,6 @@
# endif /* HAVE_NDIR_H */
#endif /* HAVE_DIRENT_H */
#include "mbox.h"
typedef enum
{
MBOX,
@@ -77,19 +75,6 @@ typedef enum
}
action_t;
typedef struct
{
char *filename; /* used with directory formats, such as maildir or MH */
char *msgid;
char *from;
char *headers;
int hbytes;
char *body;
int bbytes;
time_t date;
}
message_t;
typedef struct
{
FILE *fp;
@@ -140,7 +125,8 @@ typedef struct
int count;
int maildir_count;
checksum_t *cs;
mbox_t *tmp_mbox;
/* mbox_t *tmp_mbox; */
void *tmp_mbox;
}
runtime_t;