[PATCH v4 1/4] posix: Consolidate fork implementation

Florian Weimer fweimer@redhat.com
Thu Jun 24 08:15:53 GMT 2021


* Adhemerval Zanella via Libc-alpha:

> diff --git a/include/unistd.h b/include/unistd.h
> index 34872d8b41..d554d44edb 100644
> --- a/include/unistd.h
> +++ b/include/unistd.h
> @@ -140,6 +140,10 @@ extern __pid_t __vfork (void);
>  libc_hidden_proto (__vfork)
>  extern int __ttyname_r (int __fd, char *__buf, size_t __buflen);
>  libc_hidden_proto (__ttyname_r)
> +extern int __ttyname_r (int __fd, char *__buf, size_t __buflen)
> +     attribute_hidden;

Duplicate declaration of __ttyname_r.  Merge error?

Rest looks okay to me.

Thanks,
Florian



More information about the Libc-alpha mailing list