From 9e2b0f0f803bbec45ab0cc4e9829e2fafc467df3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 2 Feb 2006 13:47:57 +0000 Subject: even the hidden version of the weaks in libc (as strong in libpthread) have to be weaks --- libc/misc/internals/__errno_location.c | 2 +- libc/misc/internals/__h_errno_location.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc/internals') diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c index b0ff6dc6d..cd2a9c0eb 100644 --- a/libc/misc/internals/__errno_location.c +++ b/libc/misc/internals/__errno_location.c @@ -8,5 +8,5 @@ int * weak_const_function __errno_location (void) return &errno; } #ifdef IS_IN_libc /* not really need, only to keep in sync w/ libc_hidden_proto */ -libc_hidden_def(__errno_location) +libc_hidden_weak(__errno_location) #endif diff --git a/libc/misc/internals/__h_errno_location.c b/libc/misc/internals/__h_errno_location.c index 1fae93459..96f51ae5c 100644 --- a/libc/misc/internals/__h_errno_location.c +++ b/libc/misc/internals/__h_errno_location.c @@ -10,4 +10,4 @@ int * weak_const_function __h_errno_location (void) { return &h_errno; } -libc_hidden_def(__h_errno_location) +libc_hidden_weak(__h_errno_location) -- cgit v1.2.3