summaryrefslogtreecommitdiff
path: root/foreign.c
diff options
context:
space:
mode:
Diffstat (limited to 'foreign.c')
-rw-r--r--foreign.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/foreign.c b/foreign.c
index ad14f7c..2a61aca 100644
--- a/foreign.c
+++ b/foreign.c
@@ -275,7 +275,6 @@ static bool foreign_call(ForeignFnManager *ffmgr, FnExpr *fn, Type *fn_type, Val
const char *libname = fn->foreign.lib;
Library *lib = str_hash_table_get(&ffmgr->libs_loaded, libname, strlen(libname));
if (!lib) {
- /* TODO: IMPORTANT: only open libraries once */
void *handle = dlopen(libname, RTLD_LAZY);
if (!handle) {
err_print(call_where, "Could not open dynamic library: %s.", libname);