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
10
src/main.h
10
src/main.h
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user