From cb97aadebfeba7f5e8f1b85beee5ab10e88c2990 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 20 Nov 2008 22:11:44 +0000 Subject: Last portion of libc_hidden_proto removal. Appears to build fine (several .configs tried) --- libc/misc/internals/__errno_location.c | 4 ++-- libc/misc/internals/__h_errno_location.c | 2 +- libc/misc/internals/__uClibc_main.c | 8 ++++---- libc/misc/internals/errno.c | 4 ++-- libc/misc/internals/tempname.c | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'libc/misc/internals') diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c index a44bf6062..4401ba249 100644 --- a/libc/misc/internals/__errno_location.c +++ b/libc/misc/internals/__errno_location.c @@ -6,8 +6,8 @@ #include "internal_errno.h" -/* psm: moved to bits/errno.h: libc_hidden_proto(__errno_location) */ -libc_hidden_proto(__errno_location) +/* psm: moved to bits/errno.h: */ +/* libc_hidden_proto(__errno_location) */ int * weak_const_function __errno_location (void) { return &errno; diff --git a/libc/misc/internals/__h_errno_location.c b/libc/misc/internals/__h_errno_location.c index 2ac21774c..f4a587e96 100644 --- a/libc/misc/internals/__h_errno_location.c +++ b/libc/misc/internals/__h_errno_location.c @@ -6,7 +6,7 @@ #include "internal_errno.h" -libc_hidden_proto(__h_errno_location) +/* libc_hidden_proto(__h_errno_location) */ int * weak_const_function __h_errno_location (void) { return &h_errno; diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index af4bfac42..5f31e347c 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -34,10 +34,10 @@ #endif #ifndef __ARCH_HAS_NO_LDSO__ /* Experimentally off - libc_hidden_proto(memcpy) */ -libc_hidden_proto(getgid) -libc_hidden_proto(getuid) -libc_hidden_proto(getegid) -libc_hidden_proto(geteuid) +/* libc_hidden_proto(getgid) */ +/* libc_hidden_proto(getuid) */ +/* libc_hidden_proto(getegid) */ +/* libc_hidden_proto(geteuid) */ /* libc_hidden_proto(fstat) */ /* libc_hidden_proto(abort) */ diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c index fcf143fb5..20b26b2b6 100644 --- a/libc/misc/internals/errno.c +++ b/libc/misc/internals/errno.c @@ -1,8 +1,8 @@ #include "internal_errno.h" #ifdef __UCLIBC_HAS_THREADS__ -libc_hidden_proto(errno) -libc_hidden_proto(h_errno) +/* libc_hidden_proto(errno) */ +/* libc_hidden_proto(h_errno) */ #endif int errno = 0; int h_errno = 0; diff --git a/libc/misc/internals/tempname.c b/libc/misc/internals/tempname.c index 8ce277555..10d00041c 100644 --- a/libc/misc/internals/tempname.c +++ b/libc/misc/internals/tempname.c @@ -48,10 +48,10 @@ /* Experimentally off - libc_hidden_proto(strlen) */ /* Experimentally off - libc_hidden_proto(strcmp) */ /* libc_hidden_proto(sprintf) */ -libc_hidden_proto(mkdir) +/* libc_hidden_proto(mkdir) */ /* libc_hidden_proto(open) */ #ifdef __UCLIBC_HAS_LFS__ -libc_hidden_proto(open64) +/* libc_hidden_proto(open64) */ #endif /* libc_hidden_proto(read) */ /* libc_hidden_proto(close) */ -- cgit v1.2.3