Skip to content

Commit f1dbd29

Browse files
committed
unix/gccollect: Provide declaration of exported function.
1 parent c2508ac commit f1dbd29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unix/gccollect.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ STATIC void gc_helper_get_regs(regs_t arr) {
136136

137137
#endif // MICROPY_GCREGS_SETJMP
138138

139+
// this function is used by mpthreadport.c
140+
void gc_collect_regs_and_stack(void);
141+
139142
void gc_collect_regs_and_stack(void) {
140143
regs_t regs;
141144
gc_helper_get_regs(regs);

0 commit comments

Comments
 (0)