Commit 284950f5 284950f5badb33ecc86338ce08ad9cddd068e092 by Alain Magloire

Small corrections.

1 parent 47c64875
...@@ -15,14 +15,8 @@ ...@@ -15,14 +15,8 @@
15 along with this program; if not, write to the Free Software 15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17 17
18 #include <errno.h> 18 #include "readmsg.h"
19 #include <sys/types.h>
20 #include <stdlib.h>
21 #include <string.h>
22 #include <mailutils/mailbox.h>
23 19
24 extern mailbox_t mbox;
25 extern unsigned int total;
26 20
27 static int 21 static int
28 addset (int **set, int *n, unsigned val) 22 addset (int **set, int *n, unsigned val)
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
19 # include <config.h> 19 # include <config.h>
20 #endif 20 #endif
21 21
22
23 #include "readmsg.h" 22 #include "readmsg.h"
24 23
25 mailbox_t mbox; 24 mailbox_t mbox;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17 17
18 #ifndef _READMSG_H 18 #ifndef _READMSG_H
19 #define _REAMSG_H 19 #define _READMSG_H
20 20
21 #include <sys/types.h> 21 #include <sys/types.h>
22 #include <stdio.h> 22 #include <stdio.h>
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
24 #include <string.h> 24 #include <string.h>
25 #include <unistd.h> 25 #include <unistd.h>
26 #include <limits.h> 26 #include <limits.h>
27 #include <errno.h>
27 28
28 #include <mailutils/mailbox.h> 29 #include <mailutils/mailbox.h>
29 #include <mailutils/header.h> 30 #include <mailutils/header.h>
......