Add missing return type for unreachable_()

This commit is contained in:
ISSOtm authored and Eldred Habert committed 2022-07-02 17:04:17 +02:00
1 parent 3bd6078537
commit 38e8024ffa
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@
#define attr_(...)
// This seems to generate similar code to __builtin_unreachable, despite different semantics
// Note that executing this is undefined behavior (declared _Noreturn, but does return)
static inline _Noreturn unreachable_(void) {}
static inline _Noreturn void unreachable_(void) {}
#endif
// Use builtins whenever possible, and shim them otherwise