]> git.eshelyaron.com Git - emacs.git/commitdiff
Include config.h, stdlib.h.
authorDave Love <fx@gnu.org>
Tue, 18 Dec 2001 15:59:09 +0000 (15:59 +0000)
committerDave Love <fx@gnu.org>
Tue, 18 Dec 2001 15:59:09 +0000 (15:59 +0000)
(xmalloc, xrealloc, skip_to_lf sysfail): Prototype.

lib-src/cvtmail.c

index 85c5512abfc08c49c76af1b075a8777ab9948350..b967f81d4288acf303fd6922b67be1e6c5e9e784 100644 (file)
@@ -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)