mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2024-10-01 01:05:39 -04:00
fix deprecation warnings (Mirage_clock_lwt -> Mirage_clock)
This commit is contained in:
parent
3fc418e80c
commit
28bda78d20
@ -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. *)
|
||||||
|
@ -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 = {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user