summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-12 01:34:19 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-12 01:34:19 +0200
commita166531fdf601560a0005479427f60d3173f8257 (patch)
tree238f328a341b9fe533ca1a125c7ccb5ac3fa2a44 /posix
parent4b7d1efb51a529a1391e7326ef90cb51139d7eb6 (diff)
downloadglibc-a166531fdf601560a0005479427f60d3173f8257.tar.gz
hurd: Fix build without NO_HIDDEN
* posix/sched_primax.c (__sched_get_priority_max): Add libc_hidden_def. * posix/sched_primin.c (__sched_get_priority_min): Likewise. * sysdeps/mach/hurd/mmap.c (__mmap): Likewise. * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise. * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise. * sysdeps/mach/hurd/munmap.c (__munmap): Likewise. * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid, __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail, __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail): Add aliases.
Diffstat (limited to 'posix')
-rw-r--r--posix/sched_primax.c1
-rw-r--r--posix/sched_primin.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/posix/sched_primax.c b/posix/sched_primax.c
index 6f40b83f6c..ed711c7317 100644
--- a/posix/sched_primax.c
+++ b/posix/sched_primax.c
@@ -26,6 +26,7 @@ __sched_get_priority_max (int algorithm)
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (__sched_get_priority_max)
stub_warning (sched_get_priority_max)
weak_alias (__sched_get_priority_max, sched_get_priority_max)
diff --git a/posix/sched_primin.c b/posix/sched_primin.c
index 7e38a7cc6b..149b994406 100644
--- a/posix/sched_primin.c
+++ b/posix/sched_primin.c
@@ -26,6 +26,7 @@ __sched_get_priority_min (int algorithm)
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (__sched_get_priority_min)
stub_warning (sched_get_priority_min)
weak_alias (__sched_get_priority_min, sched_get_priority_min)