summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-26 01:14:13 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-26 01:14:13 +0000
commit83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c (patch)
treeafd209037c1f52762f36684c5816251c280bcc3b /libc/misc/internals
parent905b94adb175aacee1aaaed4ef48f99da7447d3e (diff)
Some more hidden internals
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/tempname.c2
-rw-r--r--libc/misc/internals/tempname.h2
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 */