commit 631633fb8f9afdeaf4c7002680ae4913d0c36397
parent baa580c2a2190234f86224d627eeac9d29f6e7d7
Author: Anselm R Garbe <anselm@garbe.us>
Date: Sat, 29 May 2010 11:58:52 +0100
renamed ed's internal mktemp
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ed/ed.c b/ed/ed.c
@@ -121,6 +121,7 @@ void setnoaddr(void);
void setwide(void);
void squeeze(int);
void substitute(int);
+char* _mktemp(char *as);
Rune La[] = { 'a', 0 };
Rune Lr[] = { 'r', 0 };
@@ -161,7 +162,7 @@ main(int argc, char *argv[])
globp = Lr;
}
zero = malloc((nlall+5)*sizeof(int*));
- tfname = mktemp(tmp);
+ tfname = _mktemp(tmp);
init();
setjmp(savej);
commands();
@@ -1583,7 +1584,7 @@ putchr(int ac)
}
char*
-mktemp(char *as)
+_mktemp(char *as)
{
char *s;
unsigned pid;