1
0
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:
Christophe CURIS
2013-06-09 19:21:16 +02:00
committed by Carlos R. Mafra
parent 34089d7661
commit 6dda67bc51
4 changed files with 18 additions and 6 deletions

View File

@@ -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);