mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 00:50:34 +02:00
WINGs: fix compiler warnings on fontl example
The patch is fixing some compiler warnings about missing noreturn keyword.
This commit is contained in:
1 parent
260415eb42
commit
bc16a03722
1 file changed
+3
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user