[PATCH v2 1/3] Avoid cyclic header dependencies
Corinna Vinschen
vinschen@redhat.com
Mon Jun 3 08:40:00 GMT 2019
On May 16 14:40, Sebastian Huber wrote:
> RTEMS uses a considerable part of FreeBSD kernel and user space sources.
> These sources are compiled with a __FreeBSD__ define. On 2018-06-26
> Gerald Pfeifer changed the GCC provided <stddef.h> so that it includes
> <sys/_types.h> if __FreeBSD__ is defined. The Newlib <sys/_types.h>
> included <sys/lock.h> which includes <sys/cdefs.h> on RTEMS which
> includes <stddef.h>. To get rid of this cyclic dependency move the
> optional _flock_t definition to <sys/reent.h>.
>
> Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
> ---
> newlib/libc/include/sys/_types.h | 5 -----
> newlib/libc/include/sys/reent.h | 5 +++++
> 2 files changed, 5 insertions(+), 5 deletions(-)
Series pushed. Can you please add a cover letter when sending a series?
It's kind of awkward to reply to a single patch in the series if the
entire series is affected.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190603/1741f021/attachment.sig>
More information about the Newlib
mailing list