mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
flagged some functions as noreturn (nw)
This commit is contained in:
parent
ffa4d22438
commit
0911ce55ef
@ -101,7 +101,7 @@ static bool find_include_file(astring &srcincpath, int srcrootlen, const astring
|
||||
main - main entry point
|
||||
-------------------------------------------------*/
|
||||
|
||||
void usage(const char *argv0)
|
||||
void ATTR_NORETURN usage(const char *argv0)
|
||||
{
|
||||
fprintf(stderr, "Usage:\n%s <srcroot> [-Iincpath [-Iincpath [...]]]\n", argv0);
|
||||
exit(1);
|
||||
|
@ -404,7 +404,7 @@ int parse_for_drivers(const char *srcfile)
|
||||
main - main entry point
|
||||
-------------------------------------------------*/
|
||||
|
||||
void usage(const char *argv0)
|
||||
void ATTR_NORETURN usage(const char *argv0)
|
||||
{
|
||||
fprintf(stderr, "Usage:\n%s <source.lst> <srcroot> [-Iincpath [-Iincpath [...]]]\n", argv0);
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user