From 5068fb4d28fde61bc8b58809fd2f9b49e49da61c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Mar 2011 20:22:14 +0100 Subject: remove unneeded hiddens for rtime, basename, strtof* and wcstof* Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/rpc/auth_des.h | 1 - include/string.h | 1 - libc/inet/rpc/rtime.c | 1 - libc/stdlib/_strtod.c | 2 -- libc/string/basename.c | 1 - 5 files changed, 6 deletions(-) diff --git a/include/rpc/auth_des.h b/include/rpc/auth_des.h index d51b7ce7c..f62d8f96b 100644 --- a/include/rpc/auth_des.h +++ b/include/rpc/auth_des.h @@ -109,7 +109,6 @@ extern int getsecretkey (__const char *__name, char *__key, extern int rtime (struct sockaddr_in *__addrp, struct rpc_timeval *__timep, struct rpc_timeval *__timeout) __THROW; -libc_hidden_proto(rtime) __END_DECLS diff --git a/include/string.h b/include/string.h index f11a7269c..8d17d215e 100644 --- a/include/string.h +++ b/include/string.h @@ -462,7 +462,6 @@ extern void *memfrob (void *__s, size_t __n) __THROW __nonnull ((1)); in ) which makes the XPG version of this function available. */ extern char *basename (__const char *__filename) __THROW __nonnull ((1)); -libc_hidden_proto(basename) # endif #endif /* __USE_GNU */ diff --git a/libc/inet/rpc/rtime.c b/libc/inet/rpc/rtime.c index f9f1d9e9d..8a78c2900 100644 --- a/libc/inet/rpc/rtime.c +++ b/libc/inet/rpc/rtime.c @@ -150,4 +150,3 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep, timep->tv_usec = 0; return 0; } -libc_hidden_def (rtime) diff --git a/libc/stdlib/_strtod.c b/libc/stdlib/_strtod.c index 1d58258e7..f468c7347 100644 --- a/libc/stdlib/_strtod.c +++ b/libc/stdlib/_strtod.c @@ -509,7 +509,6 @@ void attribute_hidden __fp_range_check(__fpmax_t y, __fpmax_t x) #endif -libc_hidden_proto(__XL_NPP(strtof)) float __XL_NPP(strtof)(const Wchar *str, Wchar **endptr __LOCALE_PARAM ) { #if FPMAX_TYPE == 1 @@ -526,7 +525,6 @@ float __XL_NPP(strtof)(const Wchar *str, Wchar **endptr __LOCALE_PARAM ) return y; #endif } -libc_hidden_def(__XL_NPP(strtof)) #endif #endif diff --git a/libc/string/basename.c b/libc/string/basename.c index 29e7a2a82..58c45be18 100644 --- a/libc/string/basename.c +++ b/libc/string/basename.c @@ -24,5 +24,4 @@ char *basename(const char *path) return (char *) p; } -libc_hidden_def(basename) #endif -- cgit v1.2.3