aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/ocaml/linker/llvm_linker.ml
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/ocaml/linker/llvm_linker.ml')
-rw-r--r--bindings/ocaml/linker/llvm_linker.ml8
1 files changed, 1 insertions, 7 deletions
diff --git a/bindings/ocaml/linker/llvm_linker.ml b/bindings/ocaml/linker/llvm_linker.ml
index 5854d70..3044abd 100644
--- a/bindings/ocaml/linker/llvm_linker.ml
+++ b/bindings/ocaml/linker/llvm_linker.ml
@@ -11,11 +11,5 @@ exception Error of string
let () = Callback.register_exception "Llvm_linker.Error" (Error "")
-module Mode = struct
- type t =
- | DestroySource
- | PreserveSource
-end
-
-external link_modules : Llvm.llmodule -> Llvm.llmodule -> Mode.t -> unit
+external link_modules : Llvm.llmodule -> Llvm.llmodule -> unit
= "llvm_link_modules"