mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Fix compiler warnings
This commit is contained in:
parent
937f6b61c2
commit
370535869a
1 changed files with 4 additions and 2 deletions
6
ffi.c
6
ffi.c
|
@ -13,6 +13,8 @@
|
|||
#include <ck_pr.h>
|
||||
#include <unistd.h>
|
||||
|
||||
void *Cyc_init_thread(object thread_and_thunk, int argc, object *args);
|
||||
|
||||
static void Cyc_return_from_scm_call(gc_thread_data *thd, int argc, object k, object result)
|
||||
{
|
||||
// Cleaup thread object per Cyc_exit_thread
|
||||
|
@ -173,7 +175,7 @@ object Cyc_scm_call_no_gc(gc_thread_data *parent_thd, object fnc, object arg)
|
|||
//
|
||||
if (!setjmp(*(thd.jmp_start))) {
|
||||
no_gc_call_scm(&thd, fnc, arg);
|
||||
} else {
|
||||
return(thd.gc_cont);
|
||||
}
|
||||
|
||||
return(thd.gc_cont);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue