diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-08-18 14:47:56 +1000 |
|---|---|---|
| committer | Jim Mussared <jim.mussared@gmail.com> | 2023-06-08 17:54:04 +1000 |
| commit | 1bf2dcb15ecf4ba37211327f4378b164a5aaf567 (patch) | |
| tree | 801a5d3770aa8ed4ce7ceab2c7dcea4fd7db65cf /ports/unix/modutime.c | |
| parent | dfe232d0003b9f381643050c06c547fc3093e9e1 (diff) | |
all: Rename mp_umodule*, mp_module_umodule* to remove the "u" prefix.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'ports/unix/modutime.c')
| -rw-r--r-- | ports/unix/modutime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/unix/modutime.c b/ports/unix/modutime.c index dade99295..26c2fbdb9 100644 --- a/ports/unix/modutime.c +++ b/ports/unix/modutime.c @@ -61,7 +61,7 @@ static inline int msec_sleep_tv(struct timeval *tv) { #error Unsupported clock() implementation #endif -STATIC mp_obj_t mp_utime_time_get(void) { +STATIC mp_obj_t mp_time_time_get(void) { #if MICROPY_PY_BUILTINS_FLOAT && MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_DOUBLE struct timeval tv; gettimeofday(&tv, NULL); @@ -85,7 +85,7 @@ STATIC mp_obj_t mod_time_clock(void) { } STATIC MP_DEFINE_CONST_FUN_OBJ_0(mod_time_clock_obj, mod_time_clock); -STATIC mp_obj_t mp_utime_sleep(mp_obj_t arg) { +STATIC mp_obj_t mp_time_sleep(mp_obj_t arg) { #if MICROPY_PY_BUILTINS_FLOAT struct timeval tv; mp_float_t val = mp_obj_get_float(arg); |
