lib/abort_.c: Add prototype to make coverage build happy.
This commit is contained in:
parent
ba2c503541
commit
58d9d85a56
@ -1,5 +1,7 @@
|
|||||||
#include <py/runtime.h>
|
#include <py/runtime.h>
|
||||||
|
|
||||||
void abort_(void) {
|
NORETURN void abort_(void);
|
||||||
|
|
||||||
|
NORETURN void abort_(void) {
|
||||||
nlr_raise(mp_obj_new_exception_msg(&mp_type_RuntimeError, "abort() called"));
|
nlr_raise(mp_obj_new_exception_msg(&mp_type_RuntimeError, "abort() called"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user