summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/internals/__errno_location.c2
-rw-r--r--libc/misc/internals/__h_errno_location.c2
-rw-r--r--libc/signal/sigaction.c2
-rw-r--r--libc/sysdeps/linux/arm/sigaction.c2
-rw-r--r--libc/sysdeps/linux/common/nanosleep.c2
-rw-r--r--libc/sysdeps/linux/common/waitpid.c2
-rw-r--r--libc/sysdeps/linux/i386/sigaction.c2
-rw-r--r--libc/sysdeps/linux/mips/sigaction.c2
-rw-r--r--libc/sysdeps/linux/x86_64/sigaction.c2
9 files changed, 9 insertions, 9 deletions
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)
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c
index d3a92a13a..ab9db9677 100644
--- a/libc/signal/sigaction.c
+++ b/libc/signal/sigaction.c
@@ -111,5 +111,5 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
diff --git a/libc/sysdeps/linux/arm/sigaction.c b/libc/sysdeps/linux/arm/sigaction.c
index 07de18420..1066d33dd 100644
--- a/libc/sysdeps/linux/arm/sigaction.c
+++ b/libc/sysdeps/linux/arm/sigaction.c
@@ -130,5 +130,5 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
diff --git a/libc/sysdeps/linux/common/nanosleep.c b/libc/sysdeps/linux/common/nanosleep.c
index 1724540ed..76cab97f2 100644
--- a/libc/sysdeps/linux/common/nanosleep.c
+++ b/libc/sysdeps/linux/common/nanosleep.c
@@ -16,4 +16,4 @@ _syscall2(int, __libc_nanosleep, const struct timespec *, req,
struct timespec *, rem);
libc_hidden_proto(nanosleep)
weak_alias(__libc_nanosleep,nanosleep)
-libc_hidden_def(nanosleep)
+libc_hidden_weak(nanosleep)
diff --git a/libc/sysdeps/linux/common/waitpid.c b/libc/sysdeps/linux/common/waitpid.c
index c9ca97c53..729508558 100644
--- a/libc/sysdeps/linux/common/waitpid.c
+++ b/libc/sysdeps/linux/common/waitpid.c
@@ -19,4 +19,4 @@ __pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options)
}
libc_hidden_proto(waitpid)
weak_alias(__libc_waitpid,waitpid)
-libc_hidden_def(waitpid)
+libc_hidden_weak(waitpid)
diff --git a/libc/sysdeps/linux/i386/sigaction.c b/libc/sysdeps/linux/i386/sigaction.c
index edabe3f9d..341c0d16b 100644
--- a/libc/sysdeps/linux/i386/sigaction.c
+++ b/libc/sysdeps/linux/i386/sigaction.c
@@ -126,7 +126,7 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
diff --git a/libc/sysdeps/linux/mips/sigaction.c b/libc/sysdeps/linux/mips/sigaction.c
index 85cdabe79..e1eca78fe 100644
--- a/libc/sysdeps/linux/mips/sigaction.c
+++ b/libc/sysdeps/linux/mips/sigaction.c
@@ -117,5 +117,5 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
diff --git a/libc/sysdeps/linux/x86_64/sigaction.c b/libc/sysdeps/linux/x86_64/sigaction.c
index b8d3861a4..dad45f69e 100644
--- a/libc/sysdeps/linux/x86_64/sigaction.c
+++ b/libc/sysdeps/linux/x86_64/sigaction.c
@@ -122,7 +122,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
/* NOTE: Please think twice before making any changes to the bits of