Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused id types #255

Merged
merged 1 commit into from
Oct 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/arpv4/arpv4.ml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ module Make (Ethif : V1_LWT.ETHIF) (Clock : V1.MCLOCK) (Time : V1_LWT.TIME) = st
type macaddr = Macaddr.t
type ethif = Ethif.t
type repr = string
type id = t
type error

let arp_timeout = Duration.of_sec 60 (* age entries out of cache after this many seconds *)
Expand Down
2 changes: 0 additions & 2 deletions lib/icmp/icmpv4.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ module Make(IP : V1_LWT.IPV4) = struct

type error = [ `Routing | `Unknown ]

type id = t

let connect ip =
let t = { ip; echo_reply = true } in
Lwt.return t
Expand Down
2 changes: 0 additions & 2 deletions unix/icmpv4_socket.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ type 'a io = 'a Lwt.t

type t = unit

type id = t

type error = string

let pp_error fmt err = Format.fprintf fmt "%s" err
Expand Down