aboutsummaryrefslogtreecommitdiff
path: root/clib/cString.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-10-04 11:18:02 +0200
committerPierre-Marie Pédrot2018-10-04 11:18:02 +0200
commit8a5cb2d9da73b94e1713f5ee6cba73e0680f20fb (patch)
treeb66c100bb04261b43970d630b1cbf30b552fe90a /clib/cString.ml
parent79da82da057224eec8abaf96c20b0725f18b2945 (diff)
parent87d5e79baea4f3679a1429d2a2e128b564eec5d5 (diff)
Merge PR #8626: [ocaml] [lib] Remove some compatibility layers for OCaml < 4.03.0
Diffstat (limited to 'clib/cString.ml')
-rw-r--r--clib/cString.ml7
1 files changed, 0 insertions, 7 deletions
diff --git a/clib/cString.ml b/clib/cString.ml
index dd33562f16..b178cbbd2c 100644
--- a/clib/cString.ml
+++ b/clib/cString.ml
@@ -13,9 +13,6 @@ module type S = module type of String
module type ExtS =
sig
include S
- [@@@ocaml.warning "-3"] (* [@@noalloc] since 4.03.0 GPR#240 *)
- external equal : string -> string -> bool = "caml_string_equal" "noalloc"
- [@@@ocaml.warning "+3"]
val hash : string -> int
val is_empty : string -> bool
val explode : string -> string list
@@ -37,10 +34,6 @@ end
include String
-[@@@ocaml.warning "-3"] (* [@@noalloc] since 4.03.0 GPR#240 *)
-external equal : string -> string -> bool = "caml_string_equal" "noalloc"
-[@@@ocaml.warning "+3"]
-
let rec hash len s i accu =
if i = len then accu
else