diff options
Diffstat (limited to 'py/modmath.c')
-rw-r--r-- | py/modmath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modmath.c b/py/modmath.c index 4d51a28d0b..b792d8581d 100644 --- a/py/modmath.c +++ b/py/modmath.c @@ -37,7 +37,7 @@ #define MP_PI_4 MICROPY_FLOAT_CONST(0.78539816339744830962) #define MP_3_PI_4 MICROPY_FLOAT_CONST(2.35619449019234492885) -static NORETURN void math_error(void) { +static MP_NORETURN void math_error(void) { mp_raise_ValueError(MP_ERROR_TEXT("math domain error")); } |