diff options
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r-- | binutils/bucomm.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c index 68b191b..aa3080f 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -35,9 +35,6 @@ typedef long time_t; #endif #endif - -/* Ought to be defined in libiberty.h... */ -extern int mkstemps PARAMS ((char *, int)); /* Error reporting */ @@ -236,14 +233,14 @@ make_tempname (filename) #endif strcat (tmpname, "/"); strcat (tmpname, template); - close (mkstemps (tmpname, 0)); + mktemp (tmpname); *slash = c; } else { tmpname = xmalloc (sizeof (template)); strcpy (tmpname, template); - close (mkstemps (tmpname, 0)); + mktemp (tmpname); } return tmpname; } |