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

@@ -23,7 +23,7 @@
#include <config.h>
#include "mboxgrep.h" /* for message_t structure */
#include "message.h"
typedef struct
{
@@ -39,9 +39,7 @@ void tmpfile_name (const char *path);
void tmpfile_mod_own (const int fd, const char *path);
int tmpfile_create (void);
void mbox_close (mbox_t * mbp);
/* FIXME -- it doesn't compile with this portion uncommented
message_t *mbox_read_message (mbox_t * mp);
void mbox_write_message (message_t *m, mbox_t *mbox);
*/
#endif /* MBOX_H */