diff options
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/tempname.c | 2 | ||||
-rw-r--r-- | libc/misc/internals/tempname.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c index cd1f3497b..75f41ed95 100644 --- a/libc/misc/internals/tempname.c +++ b/libc/misc/internals/tempname.c @@ -175,7 +175,7 @@ static void brain_damaged_fillrand(unsigned char *buf, unsigned int len) __GT_DIR: create a directory, which will be mode 0700. */ -int __gen_tempname (char *tmpl, int kind) +int attribute_hidden __gen_tempname (char *tmpl, int kind) { char *XXXXXX; unsigned int k; diff --git a/libc/misc/internals/tempname.h b/libc/misc/internals/tempname.h index f068727a7..9ce964741 100644 --- a/libc/misc/internals/tempname.h +++ b/libc/misc/internals/tempname.h @@ -5,7 +5,7 @@ #include <stddef.h> extern int __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, int try_tmpdir); -extern int __gen_tempname (char *__tmpl, int __kind); +extern int __gen_tempname (char *__tmpl, int __kind) attribute_hidden; /* The __kind argument to __gen_tempname may be one of: */ #define __GT_FILE 0 /* create a file */ |