From 45f33aac78e86d0f23c74a207295f3c7a77a94c0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 5 Dec 2018 23:24:03 +0100 Subject: 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. --- include/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index a171b00326..a043431ecf 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) -- cgit 1.4.1