mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-25 07:32:36 +01:00
wmaker: Added attribute 'noreturn' to appropriate functions
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
34089d7661
commit
6dda67bc51
@@ -22,9 +22,15 @@
|
||||
#ifndef WMEVENT_H
|
||||
#define WMEVENT_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_STDNORETURN
|
||||
#include <stdnoreturn.h>
|
||||
#endif
|
||||
|
||||
typedef void (WDeathHandler)(pid_t pid, unsigned int status, void *cdata);
|
||||
|
||||
void EventLoop(void);
|
||||
noreturn void EventLoop(void);
|
||||
void DispatchEvent(XEvent *event);
|
||||
void ProcessPendingEvents(void);
|
||||
WMagicNumber wAddDeathHandler(pid_t pid, WDeathHandler *callback, void *cdata);
|
||||
|
||||
Reference in New Issue
Block a user