From 0b3b82868c1b3983f9b787bb1f88cfeaac5ec0f2 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 18 Dec 2001 15:59:09 +0000 Subject: [PATCH] Include config.h, stdlib.h. (xmalloc, xrealloc, skip_to_lf sysfail): Prototype. --- lib-src/cvtmail.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib-src/cvtmail.c b/lib-src/cvtmail.c index 85c5512abfc..b967f81d428 100644 --- a/lib-src/cvtmail.c +++ b/lib-src/cvtmail.c @@ -33,17 +33,21 @@ Boston, MA 02111-1307, USA. */ * Author: Larry Kolodney, 1985 */ - +#include "config.h" #include +#ifndef HAVE_STDLIB_H char *malloc (); char *realloc (); char *getenv (); - -char *xmalloc (); -char *xrealloc (); -void skip_to_lf (); -void sysfail (); +#else +#include +#endif + +char *xmalloc __P ((unsigned)); +char *xrealloc __P ((char *, unsigned)); +void skip_to_lf __P ((FILE *)); +void sysfail __P ((char *)); int main (argc, argv) -- 2.39.2