Skip to content

Commit 1d99704

Browse files
milahuvitalych
authored andcommitted
fix: error: '_Noreturn' does not name a type
1 parent ec67e59 commit 1d99704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libtcg/include/tcg/utils/osdep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static inline void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) {
143143
}
144144

145145
#define LIBTCG_ERROR(X) __attribute__((error(X)))
146-
extern _Noreturn void LIBTCG_ERROR("code path is reachable") qemu_build_not_reached_always(void);
146+
NORETURN extern void LIBTCG_ERROR("code path is reachable") qemu_build_not_reached_always(void);
147147

148148
static inline void qemu_thread_jit_write(void) {
149149
}

0 commit comments

Comments
 (0)