diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-05 23:24:03 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-07 20:21:45 +0100 |
commit | 45f33aac78e86d0f23c74a207295f3c7a77a94c0 (patch) | |
tree | 0bbfec909980aeec0f0d78d95d7b6dd8250d2287 /posix | |
parent | a092ca9453df677053787b376322362e3bbe91ca (diff) | |
download | glibc-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 'posix')
-rw-r--r-- | posix/confstr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/posix/confstr.c b/posix/confstr.c index de4cff7..73ebb2e 100644 --- a/posix/confstr.c +++ b/posix/confstr.c @@ -29,7 +29,7 @@ of BUF with the value corresponding to NAME and zero-terminate BUF. Return the number of bytes required to hold NAME's entire value. */ size_t -confstr (int name, char *buf, size_t len) +__confstr (int name, char *buf, size_t len) { const char *string = ""; size_t string_len = 1; @@ -289,4 +289,6 @@ confstr (int name, char *buf, size_t len) } return string_len; } +libc_hidden_def (__confstr) libc_hidden_def (confstr) +weak_alias (__confstr, confstr) |