mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-30 11:42:54 +03:00
(my_exit): cleanup no attribute noreturn warning.
utilunix.c:360:1: error: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c0cc0546d1
commit
b91ab44b43
@ -356,8 +356,7 @@ save_stop_handler (void)
|
||||
* @param status exit code
|
||||
*/
|
||||
|
||||
void
|
||||
my_exit (int status)
|
||||
void __attribute__ ((noreturn)) my_exit (int status)
|
||||
{
|
||||
_exit (status);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user