summaryrefslogtreecommitdiff
path: root/extmod
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-06-02 17:04:24 +1000
committerDamien George <damien@micropython.org>2022-06-07 23:41:49 +1000
commite8e8c7c3548623e586f44ff208ba3f7699b7f3c2 (patch)
treefb2a8361d937f9cefdeb0efb36ca00516242d9f4 /extmod
parentac3fb974bc1b1a3e202b11c9e68a1c3422372182 (diff)
extmod/modurandom: Fix missing void in empty argument list.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod')
-rw-r--r--extmod/modurandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modurandom.c b/extmod/modurandom.c
index 2e29f7ca6..b66162719 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;