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,12 +22,18 @@
#ifndef WMMAIN_H_
#define WMMAIN_H_
void Exit(int status) __attribute__((noreturn));
#include "config.h"
#ifdef HAVE_STDNORETURN
#include <stdnoreturn.h>
#endif
noreturn void Exit(int status);
void Restart(char *manager, Bool abortOnFailure);
void SetupEnvironment(WScreen *scr);
void ExecuteShellCommand(WScreen *scr, char *command);
Bool RelaunchWindow(WWindow *wwin);
void wAbort(Bool dumpCore);
noreturn void wAbort(Bool dumpCore);
void ExecExitScript(void);
int getWVisualID(int screen);