From 65871dd11240f50a2f62c20369964e6e80fdcb98 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sat, 12 Mar 2011 20:08:01 +0100
Subject: [PATCH 002/396] avoid jump relocations

add hidden getutid, getifaddrs, freeifaddrs and __gen_tempname

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/misc/internals/tempname.c |    1 +
 libc/misc/internals/tempname.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c
index 28c0098..f73f875 100644
--- a/libc/misc/internals/tempname.c
+++ b/libc/misc/internals/tempname.c
@@ -250,3 +250,4 @@ restore_and_ret:
     __set_errno (EEXIST);
     return -1;
 }
+libc_hidden_def(__gen_tempname)
diff --git a/libc/misc/internals/tempname.h b/libc/misc/internals/tempname.h
index e75b632..f8f0a84 100644
--- a/libc/misc/internals/tempname.h
+++ b/libc/misc/internals/tempname.h
@@ -11,6 +11,7 @@ extern int ___path_search (char *tmpl, size_t tmpl_len, const char *dir,
 #define __path_search(tmpl, tmpl_len, dir, pfx, try_tmpdir) ___path_search(tmpl, tmpl_len, dir, pfx)
 
 extern int __gen_tempname (char *__tmpl, int __kind, mode_t mode) attribute_hidden;
+libc_hidden_proto(__gen_tempname)
 
 /* The __kind argument to __gen_tempname may be one of: */
 #define __GT_FILE     0       /* create a file */
-- 
1.7.0.4

