summaryrefslogtreecommitdiffstatshomepage
path: root/unix/gccollect.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/gccollect.c')
-rw-r--r--unix/gccollect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/gccollect.c b/unix/gccollect.c
index 3e012b5423..397c4ffe1c 100644
--- a/unix/gccollect.c
+++ b/unix/gccollect.c
@@ -136,6 +136,9 @@ STATIC void gc_helper_get_regs(regs_t arr) {
#endif // MICROPY_GCREGS_SETJMP
+// this function is used by mpthreadport.c
+void gc_collect_regs_and_stack(void);
+
void gc_collect_regs_and_stack(void) {
regs_t regs;
gc_helper_get_regs(regs);