From f3b4c74b53903b32d1b852b381ae22b140b7b05b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 26 Nov 2005 14:14:05 +0000 Subject: 100 JUMP relocs less (remaining 431) by hiding internally used ones --- libc/misc/internals/tempname.c | 2 +- libc/misc/internals/tempname.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc/internals') 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 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: */ -- cgit v1.2.3