Mercurial > emacs
changeset 42132:398fa38cf321
Include config.h, stdlib.h.
(xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 18 Dec 2001 15:59:09 +0000 |
parents | c8cfb8893fac |
children | 14add4c935a4 |
files | lib-src/cvtmail.c |
diffstat | 1 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/cvtmail.c Tue Dec 18 15:57:02 2001 +0000 +++ b/lib-src/cvtmail.c Tue Dec 18 15:59:09 2001 +0000 @@ -33,17 +33,21 @@ * Author: Larry Kolodney, 1985 */ - +#include "config.h" #include <stdio.h> +#ifndef HAVE_STDLIB_H char *malloc (); char *realloc (); char *getenv (); +#else +#include <stdlib.h> +#endif -char *xmalloc (); -char *xrealloc (); -void skip_to_lf (); -void sysfail (); +char *xmalloc __P ((unsigned)); +char *xrealloc __P ((char *, unsigned)); +void skip_to_lf __P ((FILE *)); +void sysfail __P ((char *)); int main (argc, argv)