diff options
author | Alain Magloire <alainm@gnu.org> | 2001-06-28 02:23:44 +0000 |
---|---|---|
committer | Alain Magloire <alainm@gnu.org> | 2001-06-28 02:23:44 +0000 |
commit | 284950f5badb33ecc86338ce08ad9cddd068e092 (patch) | |
tree | c554d39378103f9d6850b2d50993f8e231681e32 /readmsg | |
parent | 47c6487522bc4f800f4cde3b982c811ce75f55e7 (diff) | |
download | mailutils-284950f5badb33ecc86338ce08ad9cddd068e092.tar.gz mailutils-284950f5badb33ecc86338ce08ad9cddd068e092.tar.bz2 |
Small corrections.
Diffstat (limited to 'readmsg')
-rw-r--r-- | readmsg/msglist.c | 8 | ||||
-rw-r--r-- | readmsg/readmsg.c | 1 | ||||
-rw-r--r-- | readmsg/readmsg.h | 3 |
3 files changed, 3 insertions, 9 deletions
diff --git a/readmsg/msglist.c b/readmsg/msglist.c index cd6ab2518..393d631b0 100644 --- a/readmsg/msglist.c +++ b/readmsg/msglist.c @@ -15,14 +15,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <errno.h> -#include <sys/types.h> -#include <stdlib.h> -#include <string.h> -#include <mailutils/mailbox.h> +#include "readmsg.h" -extern mailbox_t mbox; -extern unsigned int total; static int addset (int **set, int *n, unsigned val) diff --git a/readmsg/readmsg.c b/readmsg/readmsg.c index 2736c42ad..aae3b7acb 100644 --- a/readmsg/readmsg.c +++ b/readmsg/readmsg.c @@ -19,7 +19,6 @@ # include <config.h> #endif - #include "readmsg.h" mailbox_t mbox; diff --git a/readmsg/readmsg.h b/readmsg/readmsg.h index 24c250c88..b0706b51e 100644 --- a/readmsg/readmsg.h +++ b/readmsg/readmsg.h @@ -16,7 +16,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _READMSG_H -#define _REAMSG_H +#define _READMSG_H #include <sys/types.h> #include <stdio.h> @@ -24,6 +24,7 @@ #include <string.h> #include <unistd.h> #include <limits.h> +#include <errno.h> #include <mailutils/mailbox.h> #include <mailutils/header.h> |