mirror of https://github.com/jorio/Pomme.git
ExitToShell: noreturn
This commit is contained in:
parent
0581b24162
commit
010d57bf8d
|
@ -31,6 +31,12 @@ static inline float __frsqrte(float f)
|
||||||
|
|
||||||
#define nil NULL
|
#define nil NULL
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#define POMME_NORETURN [[ noreturn ]]
|
||||||
|
#else
|
||||||
|
#define POMME_NORETURN _Noreturn
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
@ -307,7 +313,7 @@ void RestoreDeviceClut(GDHandle gdh);
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Misc
|
// Misc
|
||||||
|
|
||||||
void ExitToShell();
|
POMME_NORETURN void ExitToShell();
|
||||||
|
|
||||||
void SysBeep(short duration);
|
void SysBeep(short duration);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue