aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-05 23:24:03 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-07 20:21:45 +0100
commit45f33aac78e86d0f23c74a207295f3c7a77a94c0 (patch)
tree0bbfec909980aeec0f0d78d95d7b6dd8250d2287 /include
parenta092ca9453df677053787b376322362e3bbe91ca (diff)
downloadglibc-45f33aac78e86d0f23c74a207295f3c7a77a94c0.zip
glibc-45f33aac78e86d0f23c74a207295f3c7a77a94c0.tar.gz
glibc-45f33aac78e86d0f23c74a207295f3c7a77a94c0.tar.bz2
hurd: Fix linknamespace of spawni
* include/unistd.h (__confstr): Add prototype and hidden prototype. * posix/confstr.c (confstr): Rename to __confstr. (__confstr): Add hidden def. (confstr): Add weak alias for __confstr. * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of confstr.
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index a171b00..a043431 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -6,6 +6,8 @@
libc_hidden_proto (_exit, __noreturn__)
rtld_hidden_proto (_exit, __noreturn__)
libc_hidden_proto (alarm)
+extern size_t __confstr (int name, char *buf, size_t len);
+libc_hidden_proto (__confstr)
libc_hidden_proto (confstr)
libc_hidden_proto (execl)
libc_hidden_proto (execle)