Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
extmod/modurandom: Fix missing void in empty argument list.
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jun 7, 2022
1 parent ac3fb97 commit e8e8c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extmod/modurandom.c
Expand Up @@ -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;
Expand Down

0 comments on commit e8e8c7c

Please sign in to comment.