Files
gentoo/sys-libs/lwp/files/lwp-2.8-bool.patch
NHOrus 6542e01818 sys-libs/lwp: update EAPI 7 -> 8, fix bool
As bool definition is very private, replacement with stdbool.h
doesn't affect ABI or API

Closes: https://bugs.gentoo.org/943734
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40454
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-10 08:48:21 +00:00

15 lines
305 B
Diff

Used for declaration of private function only, so change
causes no visible effects
https://bugs.gentoo.org/943734
--- a/src/timer.c
+++ b/src/timer.c
@@ -48,7 +48,7 @@
#include <lwp/timer.h>
#include "lwp.private.h"
-typedef unsigned char bool;
+#include <stdbool.h>
#define expiration TotalTime