diff options
| author | Damien George <damien@micropython.org> | 2022-06-02 17:04:24 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-06-07 23:41:49 +1000 |
| commit | e8e8c7c3548623e586f44ff208ba3f7699b7f3c2 (patch) | |
| tree | fb2a8361d937f9cefdeb0efb36ca00516242d9f4 /extmod/modurandom.c | |
| parent | ac3fb974bc1b1a3e202b11c9e68a1c3422372182 (diff) | |
extmod/modurandom: Fix missing void in empty argument list.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/modurandom.c')
| -rw-r--r-- | extmod/modurandom.c | 2 |
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; |
