diff options
| author | Dave Love | 2001-12-18 15:59:09 +0000 |
|---|---|---|
| committer | Dave Love | 2001-12-18 15:59:09 +0000 |
| commit | 0b3b82868c1b3983f9b787bb1f88cfeaac5ec0f2 (patch) | |
| tree | 6d4dd5ef0ca64e0a9bb5213000d7d9dc6f6d0e11 /lib-src | |
| parent | 076a0ff7b1814537bc7c8ff89dbc781b9ac54898 (diff) | |
| download | emacs-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.c | 16 |
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 | ||
| 39 | char *malloc (); | 40 | char *malloc (); |
| 40 | char *realloc (); | 41 | char *realloc (); |
| 41 | char *getenv (); | 42 | char *getenv (); |
| 42 | 43 | #else | |
| 43 | char *xmalloc (); | 44 | #include <stdlib.h> |
| 44 | char *xrealloc (); | 45 | #endif |
| 45 | void skip_to_lf (); | 46 | |
| 46 | void sysfail (); | 47 | char *xmalloc __P ((unsigned)); |
| 48 | char *xrealloc __P ((char *, unsigned)); | ||
| 49 | void skip_to_lf __P ((FILE *)); | ||
| 50 | void sysfail __P ((char *)); | ||
| 47 | 51 | ||
| 48 | int | 52 | int |
| 49 | main (argc, argv) | 53 | main (argc, argv) |