Unified · Split
| @@ -1045,7 +1045,7 @@ PUB_FUNC char *tcc_strdup(const char *str); · 1044 unmodified lines | ||
| 1045 | 1045 | #define strdup(s) use_tcc_strdup(s) |
| 1046 | 1046 | PUB_FUNC void tcc_memstats(void); |
| 1047 | 1047 | PUB_FUNC void tcc_error_noabort(const char *fmt, ...); |
| 1048 | −PUB_FUNC void tcc_error(const char *fmt, ...); | |
| 1048 | +PUB_FUNC void tcc_error(const char *fmt, ...) __attribute__ ((noreturn)); | |
| 1049 | 1049 | PUB_FUNC void tcc_warning(const char *fmt, ...); |
| 1050 | 1050 | |
| 1051 | 1051 | /* other utilities */ |
| @@ -1143,7 +1143,7 @@ ST_FUNC void preprocess_init(TCCState *s1); · 91 unmodified lines | ||
| 1143 | 1143 | ST_FUNC void preprocess_new(void); |
| 1144 | 1144 | ST_FUNC int tcc_preprocess(TCCState *s1); |
| 1145 | 1145 | ST_FUNC void skip(int c); |
| 1146 | −ST_FUNC void expect(const char *msg); | |
| 1146 | +ST_FUNC void expect(const char *msg) __attribute__ ((noreturn)); | |
| 1147 | 1147 | |
| 1148 | 1148 | /* ------------ tccgen.c ------------ */ |
| 1149 | 1149 | |