mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-21 19:03:31 +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/WINGs.h>
|
||||||
#include <WINGs/WUtil.h>
|
#include <WINGs/WUtil.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
#include <stdnoreturn.h>
|
||||||
|
|
||||||
void wAbort()
|
noreturn void wAbort(void)
|
||||||
{
|
{
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
@@ -40,7 +41,7 @@ void show(WMWidget * self, void *data)
|
|||||||
WMSetLabelText(l, buf);
|
WMSetLabelText(l, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
void quit(WMWidget * self, void *data)
|
noreturn void quit(WMWidget * self, void *data)
|
||||||
{
|
{
|
||||||
(void) self;
|
(void) self;
|
||||||
(void) data;
|
(void) data;
|
||||||
|
|||||||
Reference in New Issue
Block a user