flagged some functions as noreturn (nw)

This commit is contained in:
Oliver Stöneberg 2014-09-10 06:12:19 +00:00
parent ffa4d22438
commit 0911ce55ef
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);