Skip to content

Commit

Permalink
deprected -> deprecated (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro authored and aantron committed Oct 10, 2019
1 parent f47ece9 commit 336566d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/unix/lwt_io.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ let shutdown_server_deprecated server =
let establish_server_generic
bind_function
?fd:preexisting_socket_for_listening
?(backlog = Lwt_unix.somaxconn ())
?(backlog = Lwt_unix.somaxconn () [@ocaml.warning "-3"])
listening_address
connection_handler_callback =

Expand Down
2 changes: 1 addition & 1 deletion src/unix/lwt_unix.cppo.mli
Original file line number Diff line number Diff line change
Expand Up @@ -1534,4 +1534,4 @@ val has_wait4 : bool
(** @deprecated Use [Lwt_sys.have `wait4]. *)

val somaxconn : unit -> int
[@@ocaml.deprected " This is an internal function."]
[@@ocaml.deprecated " This is an internal function."]

0 comments on commit 336566d

Please sign in to comment.