unix/gccollect: Provide declaration of exported function.

This commit is contained in:
Damien George 2016-05-05 11:00:19 +00:00
parent c2508ac8bd
commit f1dbd2909e

View File

@ -136,6 +136,9 @@ STATIC void gc_helper_get_regs(regs_t arr) {
#endif // MICROPY_GCREGS_SETJMP #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) { void gc_collect_regs_and_stack(void) {
regs_t regs; regs_t regs;
gc_helper_get_regs(regs); gc_helper_get_regs(regs);