diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-10 22:07:04 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-10 22:08:14 +0000 |
commit | 969a6b37bfc655609e540053c2bdcce8a6fdc64d (patch) | |
tree | 5e7d74f72d702efd07ff6ba6d93d3a10e4e00fd2 /unix/gccollect.c | |
parent | d51107927d53a80835195ba1ac97048c203f05f2 (diff) |
py: Make functions static where appropriate.
Diffstat (limited to 'unix/gccollect.c')
-rw-r--r-- | unix/gccollect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/gccollect.c b/unix/gccollect.c index 117c13144..2c7b81918 100644 --- a/unix/gccollect.c +++ b/unix/gccollect.c @@ -40,7 +40,7 @@ extern char *stack_top; typedef jmp_buf regs_t; -void gc_helper_get_regs(regs_t arr) { +STATIC void gc_helper_get_regs(regs_t arr) { setjmp(arr); } @@ -86,7 +86,7 @@ void gc_helper_get_regs(regs_t arr) { #ifdef __i386__ typedef mp_uint_t regs_t[4]; -void gc_helper_get_regs(regs_t arr) { +STATIC void gc_helper_get_regs(regs_t arr) { register long ebx asm ("ebx"); register long esi asm ("esi"); register long edi asm ("edi"); @@ -101,7 +101,7 @@ void gc_helper_get_regs(regs_t arr) { #if defined(__thumb2__) || defined(__thumb__) || defined(__arm__) typedef mp_uint_t regs_t[10]; -void gc_helper_get_regs(regs_t arr) { +STATIC void gc_helper_get_regs(regs_t arr) { register long r4 asm ("r4"); register long r5 asm ("r5"); register long r6 asm ("r6"); |