aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorDave Love2001-12-18 15:59:09 +0000
committerDave Love2001-12-18 15:59:09 +0000
commit0b3b82868c1b3983f9b787bb1f88cfeaac5ec0f2 (patch)
tree6d4dd5ef0ca64e0a9bb5213000d7d9dc6f6d0e11 /lib-src
parent076a0ff7b1814537bc7c8ff89dbc781b9ac54898 (diff)
downloademacs-0b3b82868c1b3983f9b787bb1f88cfeaac5ec0f2.tar.gz
emacs-0b3b82868c1b3983f9b787bb1f88cfeaac5ec0f2.zip
Include config.h, stdlib.h.
(xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
Diffstat (limited to 'lib-src')
-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. */
33 * Author: Larry Kolodney, 1985 33 * Author: Larry Kolodney, 1985
34 */ 34 */
35 35
36 36#include "config.h"
37#include <stdio.h> 37#include <stdio.h>
38 38
39#ifndef HAVE_STDLIB_H
39char *malloc (); 40char *malloc ();
40char *realloc (); 41char *realloc ();
41char *getenv (); 42char *getenv ();
42 43#else
43char *xmalloc (); 44#include <stdlib.h>
44char *xrealloc (); 45#endif
45void skip_to_lf (); 46
46void sysfail (); 47char *xmalloc __P ((unsigned));
48char *xrealloc __P ((char *, unsigned));
49void skip_to_lf __P ((FILE *));
50void sysfail __P ((char *));
47 51
48int 52int
49main (argc, argv) 53main (argc, argv)