lib/abort_.c: Add prototype to make coverage build happy.

This commit is contained in:
Paul Sokolovsky 2016-07-30 17:52:06 +03:00
parent ba2c503541
commit 58d9d85a56

View File

@ -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"));
}