mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
lib/abort_.c: Add prototype to make coverage build happy.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user