mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-19 09:13:33 +01:00
WINGs: fix compiler warnings on fontl example
The patch is fixing some compiler warnings about missing noreturn keyword.
This commit is contained in:
committed by
Carlos R. Mafra
parent
260415eb42
commit
bc16a03722
@@ -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