[PATCH] nptl: Include <stdbool.h> in tst-skeleton-affinity-inheritance.c

Andreas K. Huettel dilfridge@gentoo.org
Tue Jan 21 11:06:11 GMT 2025


Am Dienstag, 21. Januar 2025, 10:40:10 Mitteleuropäische Normalzeit schrieb Florian Weimer:
> The file uses the identifiers bool, false, true.
> 
> Andreas, is this still okay for 2.41?  It makes the test case more
> brittle to compile than necessary.

Yes, sure. Simple enough.

> 
> Thanks,
> Florian
> ---
>  nptl/tst-skeleton-affinity-inheritance.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/nptl/tst-skeleton-affinity-inheritance.c b/nptl/tst-skeleton-affinity-inheritance.c
> index 926f496229..e1f328ae26 100644
> --- a/nptl/tst-skeleton-affinity-inheritance.c
> +++ b/nptl/tst-skeleton-affinity-inheritance.c
> @@ -32,6 +32,7 @@
>     they're both inherited.  */
>  
>  #include <errno.h>
> +#include <stdbool.h>
>  #include <stdio.h>
>  #include <support/test-driver.h>
>  #include <support/xthread.h>
> 
> base-commit: 1ac28b781882e3f14b41dcb06f3f945d53938948
> 
> 


-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 981 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250121/c031ae31/attachment.sig>


More information about the Libc-alpha mailing list