From ae997062bc5e527283ec762085fc780dcdd65ea1 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sat, 15 Feb 2020 22:20:39 -0500 Subject: fixed disabling foreign --- foreign.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/foreign.c b/foreign.c index 2c1e54a..ad14f7c 100644 --- a/foreign.c +++ b/foreign.c @@ -316,8 +316,9 @@ static bool foreign_call(ForeignFnManager *ffmgr, FnExpr *fn, Type *fn_type, Val } #else -static void ffmgr_create(ForeignFnManager *ffmgr) { +static void ffmgr_create(ForeignFnManager *ffmgr, Allocator *allocr) { (void)ffmgr; + (void)allocr; } static bool foreign_call(ForeignFnManager *ffmgr, FnExpr *fn, Type *fn_type, Value *args, Location call_where, Value *ret) { -- cgit v1.2.3