summaryrefslogtreecommitdiff
path: root/lib-src/cvtmail.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2001-12-18 15:59:09 +0000
committerDave Love <fx@gnu.org>2001-12-18 15:59:09 +0000
commit0b3b82868c1b3983f9b787bb1f88cfeaac5ec0f2 (patch)
tree6d4dd5ef0ca64e0a9bb5213000d7d9dc6f6d0e11 /lib-src/cvtmail.c
parent076a0ff7b1814537bc7c8ff89dbc781b9ac54898 (diff)
downloademacs-0b3b82868c1b3983f9b787bb1f88cfeaac5ec0f2.tar.gz
Include config.h, stdlib.h.
(xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
Diffstat (limited to 'lib-src/cvtmail.c')
-rw-r--r--lib-src/cvtmail.c16
1 files 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 <stdio.h>
+#ifndef HAVE_STDLIB_H
char *malloc ();
char *realloc ();
char *getenv ();
-
-char *xmalloc ();
-char *xrealloc ();
-void skip_to_lf ();
-void sysfail ();
+#else
+#include <stdlib.h>
+#endif
+
+char *xmalloc __P ((unsigned));
+char *xrealloc __P ((char *, unsigned));
+void skip_to_lf __P ((FILE *));
+void sysfail __P ((char *));
int
main (argc, argv)