summaryrefslogtreecommitdiff
path: root/extmod/modutimeq.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-01-18 11:53:09 -0800
committerScott Shawcroft <scott@tannewt.org>2019-01-18 11:53:09 -0800
commit0318a9a9bcbceab308323788cb9e579da166710e (patch)
tree0e7fbc8a79e01237d430a51e8a15fbd71e94eeee /extmod/modutimeq.c
parent427766ac6913ae3b838e29f5cd1dc9b782c7d56a (diff)
More make_new fixes for unix build
Diffstat (limited to 'extmod/modutimeq.c')
-rw-r--r--extmod/modutimeq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/modutimeq.c b/extmod/modutimeq.c
index 614820443..99b51016d 100644
--- a/extmod/modutimeq.c
+++ b/extmod/modutimeq.c
@@ -76,8 +76,8 @@ STATIC bool time_less_than(struct qentry *item, struct qentry *parent) {
return res && res < (MODULO / 2);
}
-STATIC mp_obj_t utimeq_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
- mp_arg_check_num(n_args, n_kw, 1, 1, false);
+STATIC mp_obj_t utimeq_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *args, mp_map_t *kw_args) {
+ mp_arg_check_num(n_args, kw_args, 1, 1, false);
mp_uint_t alloc = mp_obj_get_int(args[0]);
mp_obj_utimeq_t *o = m_new_obj_var(mp_obj_utimeq_t, struct qentry, alloc);
o->base.type = type;