mirror of
git://git.musl-libc.org/musl
synced 2024-12-02 22:43:49 +08:00
remove (no longer useful) namespace-protected __mktemp symbol
This commit is contained in:
parent
c4685ae429
commit
9a97d103fb
@ -2,11 +2,10 @@
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include "libc.h"
|
||||
|
||||
char *__randname(char *);
|
||||
|
||||
char *__mktemp(char *template)
|
||||
char *mktemp(char *template)
|
||||
{
|
||||
size_t l = strlen(template);
|
||||
int retries = 10000;
|
||||
@ -24,5 +23,3 @@ char *__mktemp(char *template)
|
||||
errno = EEXIST;
|
||||
return template;
|
||||
}
|
||||
|
||||
weak_alias(__mktemp, mktemp);
|
||||
|
Loading…
Reference in New Issue
Block a user