fix deprecation warnings (Mirage_clock_lwt -> Mirage_clock)

This commit is contained in:
Hannes Mehnert 2020-01-11 15:46:02 +01:00
parent 3fc418e80c
commit 28bda78d20
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ open Qubes
let src = Logs.Src.create "unikernel" ~doc:"Main unikernel code" let src = Logs.Src.create "unikernel" ~doc:"Main unikernel code"
module Log = (val Logs.src_log src : Logs.LOG) module Log = (val Logs.src_log src : Logs.LOG)
module Main (Clock : Mirage_clock_lwt.MCLOCK) = struct module Main (Clock : Mirage_clock.MCLOCK) = struct
module Uplink = Uplink.Make(Clock) module Uplink = Uplink.Make(Clock)
(* Set up networking and listen for incoming packets. *) (* Set up networking and listen for incoming packets. *)

View File

@ -9,7 +9,7 @@ module Eth = Ethernet.Make(Netif)
let src = Logs.Src.create "uplink" ~doc:"Network connection to NetVM" let src = Logs.Src.create "uplink" ~doc:"Network connection to NetVM"
module Log = (val Logs.src_log src : Logs.LOG) module Log = (val Logs.src_log src : Logs.LOG)
module Make(Clock : Mirage_clock_lwt.MCLOCK) = struct module Make(Clock : Mirage_clock.MCLOCK) = struct
module Arp = Arp.Make(Eth)(OS.Time) module Arp = Arp.Make(Eth)(OS.Time)
type t = { type t = {

View File

@ -5,7 +5,7 @@
open Fw_utils open Fw_utils
module Make(Clock : Mirage_clock_lwt.MCLOCK) : sig module Make(Clock : Mirage_clock.MCLOCK) : sig
type t type t
val connect : Dao.network_config -> t Lwt.t val connect : Dao.network_config -> t Lwt.t