Skip to content

Commit e8e8c7c

Browse files
committed
extmod/modurandom: Fix missing void in empty argument list.
Signed-off-by: Damien George <damien@micropython.org>
1 parent ac3fb97 commit e8e8c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/modurandom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_urandom_uniform_obj, mod_urandom_uniform);
216216
#endif // MICROPY_PY_URANDOM_EXTRA_FUNCS
217217

218218
#if SEED_ON_IMPORT
219-
STATIC mp_obj_t mod_urandom___init__() {
219+
STATIC mp_obj_t mod_urandom___init__(void) {
220220
// This module may be imported by more than one name so need to ensure
221221
// that it's only ever seeded once.
222222
static bool seeded = false;

0 commit comments

Comments
 (0)