Mercurial > hg > xemacs-beta
diff lib-src/cvtmail.c @ 438:84b14dcb0985 r21-2-27
Import from CVS: tag r21-2-27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:32:25 +0200 |
parents | 3ecd8885ac67 |
children | 8de8e3f6228a |
line wrap: on
line diff
--- a/lib-src/cvtmail.c Mon Aug 13 11:31:26 2007 +0200 +++ b/lib-src/cvtmail.c Mon Aug 13 11:32:25 2007 +0200 @@ -35,17 +35,12 @@ */ -#include <../src/config.h> +#include <config.h> #include <stdio.h> #include <string.h> +#include <stdlib.h> -#if __STDC__ || defined(STDC_HEADERS) -# include <stdlib.h> -#else -char *malloc (); -char *getenv (); -#endif static void *xmalloc (unsigned int); static void *xrealloc (char *ptr, unsigned int); static void skip_to_lf (FILE *stream); @@ -68,7 +63,7 @@ char name[14]; int c; - hd = (char *) getenv ("HOME"); + hd = getenv ("HOME"); md = (char *) xmalloc (strlen (hd) + 10); strcpy (md, hd);