From e8e8c7c3548623e586f44ff208ba3f7699b7f3c2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 2 Jun 2022 17:04:24 +1000 Subject: [PATCH] extmod/modurandom: Fix missing void in empty argument list. Signed-off-by: Damien George --- extmod/modurandom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/modurandom.c b/extmod/modurandom.c index 2e29f7ca65..b661627190 100644 --- a/extmod/modurandom.c +++ b/extmod/modurandom.c @@ -216,7 +216,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_urandom_uniform_obj, mod_urandom_uniform); #endif // MICROPY_PY_URANDOM_EXTRA_FUNCS #if SEED_ON_IMPORT -STATIC mp_obj_t mod_urandom___init__() { +STATIC mp_obj_t mod_urandom___init__(void) { // This module may be imported by more than one name so need to ensure // that it's only ever seeded once. static bool seeded = false;