david.m...@gmail.com
unread,Feb 14, 2026, 10:21:34 AM (10 days ago) Feb 14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Window Maker Development
The patch is fixing some compiler warnings about missing
noreturn keyword.
---
WINGs/Examples/fontl.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/WINGs/Examples/fontl.c b/WINGs/Examples/fontl.c
index a440a22c..39cdb1d5 100644
--- a/WINGs/Examples/fontl.c
+++ b/WINGs/Examples/fontl.c
@@ -24,8 +24,9 @@
#include <WINGs/WINGs.h>
#include <WINGs/WUtil.h>
#include <inttypes.h>
+#include <stdnoreturn.h>
-void wAbort()
+noreturn void wAbort(void)
{
exit(0);
}
@@ -40,7 +41,7 @@ void show(WMWidget * self, void *data)
WMSetLabelText(l, buf);
}
-void quit(WMWidget * self, void *data)
+noreturn void quit(WMWidget * self, void *data)
{
(void) self;
(void) data;
--
2.43.0
0001-WINGs-fix-compiler-warnings-on-fontl-example.patch