extmod/modurandom: Fix missing void in empty argument list.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
ac3fb974bc
commit
e8e8c7c354
|
@ -216,7 +216,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_urandom_uniform_obj, mod_urandom_uniform);
|
||||||
#endif // MICROPY_PY_URANDOM_EXTRA_FUNCS
|
#endif // MICROPY_PY_URANDOM_EXTRA_FUNCS
|
||||||
|
|
||||||
#if SEED_ON_IMPORT
|
#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
|
// This module may be imported by more than one name so need to ensure
|
||||||
// that it's only ever seeded once.
|
// that it's only ever seeded once.
|
||||||
static bool seeded = false;
|
static bool seeded = false;
|
||||||
|
|
Loading…
Reference in New Issue