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

webrepl-nonblock-get
Paul Sokolovsky 2016-07-30 17:52:06 +03:00
parent ba2c503541
commit 58d9d85a56
1 changed files with 3 additions and 1 deletions

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