From 87901b15bab1480a299ca1ef2542ba5a0107fe8d Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 8 Jul 1988 15:31:32 +0000 Subject: [PATCH] declare mktemp --- modules/src/em_code/insert.c | 1 + modules/src/em_code/io.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/src/em_code/insert.c b/modules/src/em_code/insert.c index b45afcb33..86cbf9d3d 100644 --- a/modules/src/em_code/insert.c +++ b/modules/src/em_code/insert.c @@ -125,6 +125,7 @@ swttmp() if (C_tmpfile == 0) { static char tmpbuf[64]; register char *p = tmpbuf; + extern char *mktemp(); strcpy(p, C_tmpdir); strcat(p, "/CodeXXXXXX"); diff --git a/modules/src/em_code/io.c b/modules/src/em_code/io.c index 042f2d32a..8e59e5704 100644 --- a/modules/src/em_code/io.c +++ b/modules/src/em_code/io.c @@ -24,7 +24,7 @@ File *C_ofp; #ifndef INCORE File *C_tfr, *C_old_ofp; char *C_tmpfile; -char *strcpy(), *strcat(), *mktemp(); +char *strcpy(), *strcat(); char *C_ibuf = 0; long C_current_out; #endif