diff mbox series

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

Message ID 87y0z4a4jp.fsf@oldenburg.str.redhat.com
State New
Headers show
Series nptl: Include <stdbool.h> in tst-skeleton-affinity-inheritance.c | expand

Commit Message

Florian Weimer Jan. 21, 2025, 9:40 a.m. UTC
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.

Thanks,
Florian
---
 nptl/tst-skeleton-affinity-inheritance.c | 1 +
 1 file changed, 1 insertion(+)


base-commit: 1ac28b781882e3f14b41dcb06f3f945d53938948

Comments

Andreas K. Huettel Jan. 21, 2025, 11:06 a.m. UTC | #1
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
> 
>
diff mbox series

Patch

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>