Fix several 'reaches end of function' warnings by making fatal noreturn.

The warnings also pointed out a few genuine bugs. Replace some tabs with
spaces.
This commit is contained in:
Christian Kamm
2009-11-06 21:51:41 +01:00
parent 0db459fad0
commit 64a8e47ad6
5 changed files with 31 additions and 20 deletions
+5
View File
@@ -412,7 +412,12 @@ void warning(Loc loc, const char *format, ...) IS_PRINTF(2);
void vwarning(Loc loc, const char *format, va_list);
void error(Loc loc, const char *format, ...) IS_PRINTF(2);
void verror(Loc loc, const char *format, va_list);
#ifdef __GNUC__
__attribute__((noreturn))
#endif
void fatal();
void err_nomem();
void inifile(char *argv0, const char *inifile);
void halt();