From bc16a03722a4980021408f6bd879295f2a879f47 Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Sat, 14 Feb 2026 09:58:26 -0500 Subject: [PATCH] WINGs: fix compiler warnings on fontl example 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 #include #include +#include -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;