summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--foreign.c3
1 files changed, 2 insertions, 1 deletions
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) {