#ifdef for GCC-specific attribute

This commit is contained in:
Pavel Kirienko 2014-04-17 15:52:20 +04:00
parent 3acf0be231
commit bd27ab02ac

View File

@ -50,7 +50,9 @@ leave:
return res;
}
#if __GNUC__
__attribute__((noreturn))
#endif
void die(int status)
{
lowsyslog("Now I am dead x_x %i\n", status);