remove (no longer useful) namespace-protected __mktemp symbol
This commit is contained in:
parent
c4685ae429
commit
9a97d103fb
1 changed files with 1 additions and 4 deletions
|
|
@ -2,11 +2,10 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "libc.h"
|
|
||||||
|
|
||||||
char *__randname(char *);
|
char *__randname(char *);
|
||||||
|
|
||||||
char *__mktemp(char *template)
|
char *mktemp(char *template)
|
||||||
{
|
{
|
||||||
size_t l = strlen(template);
|
size_t l = strlen(template);
|
||||||
int retries = 10000;
|
int retries = 10000;
|
||||||
|
|
@ -24,5 +23,3 @@ char *__mktemp(char *template)
|
||||||
errno = EEXIST;
|
errno = EEXIST;
|
||||||
return template;
|
return template;
|
||||||
}
|
}
|
||||||
|
|
||||||
weak_alias(__mktemp, mktemp);
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue