Skip to content

Commit

Permalink
unix/gccollect: Provide declaration of exported function.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed May 5, 2016
1 parent dc38816 commit dc6d60a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unix/gccollect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dc6d60a

Please sign in to comment.