mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +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
|
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);
|
fprintf(stderr, "Usage:\n%s <srcroot> [-Iincpath [-Iincpath [...]]]\n", argv0);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@ -404,7 +404,7 @@ int parse_for_drivers(const char *srcfile)
|
|||||||
main - main entry point
|
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);
|
fprintf(stderr, "Usage:\n%s <source.lst> <srcroot> [-Iincpath [-Iincpath [...]]]\n", argv0);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user