summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/misc.h')
-rw-r--r--extmod/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/misc.h b/extmod/misc.h
index 634ea924d0..d7ead06549 100644
--- a/extmod/misc.h
+++ b/extmod/misc.h
@@ -30,7 +30,7 @@
#include <stddef.h>
#include "py/runtime.h"
-MP_DECLARE_CONST_FUN_OBJ(mp_uos_dupterm_obj);
+MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(mp_uos_dupterm_obj);
#if MICROPY_PY_OS_DUPTERM
void mp_uos_dupterm_tx_strn(const char *str, size_t len);