1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Hide reference to mktemp in libpthread

This commit is contained in:
Andreas Schwab
2013-01-15 14:36:09 +01:00
parent f93a8d1569
commit cfa8054fbb
7 changed files with 19 additions and 3 deletions

View File

@ -22,7 +22,7 @@
The last six characters of TEMPLATE must be "XXXXXX";
they are replaced with a string that makes the filename unique. */
char *
mktemp (template)
__mktemp (template)
char *template;
{
if (__gen_tempname (template, 0, 0, __GT_NOCREATE) < 0)
@ -31,5 +31,6 @@ mktemp (template)
return template;
}
weak_alias (__mktemp, mktemp)
link_warning (mktemp, "the use of `mktemp' is dangerous, better use `mkstemp'")