summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/Sections.ml1
-rw-r--r--common/Sections.mli5
2 files changed, 2 insertions, 4 deletions
diff --git a/common/Sections.ml b/common/Sections.ml
index 3ee36e8..90ddea7 100644
--- a/common/Sections.ml
+++ b/common/Sections.ml
@@ -14,7 +14,6 @@
(* *********************************************************************)
open Camlcoq
-open Cparser
(* Handling of linker sections *)
diff --git a/common/Sections.mli b/common/Sections.mli
index a487f34..8b7c9dc 100644
--- a/common/Sections.mli
+++ b/common/Sections.mli
@@ -34,8 +34,7 @@ val define_section:
-> ?writable:bool -> ?executable:bool -> ?near:bool -> unit -> unit
val use_section_for: AST.ident -> string -> bool
-val for_variable: Cparser.Env.t -> AST.ident -> Cparser.C.typ -> bool ->
+val for_variable: Env.t -> AST.ident -> C.typ -> bool ->
section_name * bool
-val for_function: Cparser.Env.t -> AST.ident -> Cparser.C.typ ->
- section_name list
+val for_function: Env.t -> AST.ident -> C.typ -> section_name list
val for_stringlit: unit -> section_name