summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
commitf3b4c74b53903b32d1b852b381ae22b140b7b05b (patch)
treeb6adc3094d207688bce66a702523dc3597ff244e /libc/misc/internals
parent83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c (diff)
100 JUMP relocs less (remaining 431) by hiding internally used ones
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 75f41ed95..589d627ae 100644
--- a/libc/misc/internals/tempname.c
+++ b/libc/misc/internals/tempname.c
@@ -59,7 +59,7 @@ static int direxists (const char *dir)
for use with mk[s]temp. Will fail (-1) if DIR is non-null and
doesn't exist, none of the searched dirs exists, or there's not
enough space in TMPL. */
-int __path_search (char *tmpl, size_t tmpl_len, const char *dir,
+int attribute_hidden __path_search (char *tmpl, size_t tmpl_len, const char *dir,
const char *pfx, int try_tmpdir)
{
//const char *d;
diff --git a/libc/misc/internals/tempname.h b/libc/misc/internals/tempname.h
index 9ce964741..dfe9399ca 100644
--- a/libc/misc/internals/tempname.h
+++ b/libc/misc/internals/tempname.h
@@ -4,7 +4,7 @@
#define __need_size_t
#include <stddef.h>
extern int __path_search (char *tmpl, size_t tmpl_len, const char *dir,
- const char *pfx, int try_tmpdir);
+ const char *pfx, int try_tmpdir) attribute_hidden;
extern int __gen_tempname (char *__tmpl, int __kind) attribute_hidden;
/* The __kind argument to __gen_tempname may be one of: */