|
|
3c50ef |
From 3e9ed9c0fe49c3d4e4a8e467d521f676769c485a Mon Sep 17 00:00:00 2001
|
|
|
3c50ef |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
3c50ef |
Date: Mon, 27 Mar 2017 13:06:18 +0100
|
|
|
3c50ef |
Subject: [PATCH 12/17] src: Fix some comments which referred to the old
|
|
|
3c50ef |
filenames.
|
|
|
3c50ef |
|
|
|
3c50ef |
Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
|
|
|
3c50ef |
---
|
|
|
3c50ef |
src/top.ml | 8 ++++----
|
|
|
3c50ef |
src/top.mli | 6 +++---
|
|
|
3c50ef |
2 files changed, 7 insertions(+), 7 deletions(-)
|
|
|
3c50ef |
|
|
|
3c50ef |
diff --git a/src/top.ml b/src/top.ml
|
|
|
3c50ef |
index 38658c6..f50e6a8 100644
|
|
|
3c50ef |
--- a/src/top.ml
|
|
|
3c50ef |
+++ b/src/top.ml
|
|
|
3c50ef |
@@ -30,13 +30,13 @@ module N = Libvirt.Network
|
|
|
3c50ef |
|
|
|
3c50ef |
let rcfile = ".virt-toprc"
|
|
|
3c50ef |
|
|
|
3c50ef |
-(* Hook for XML support (see virt_top_xml.ml). *)
|
|
|
3c50ef |
+(* Hook for XML support (see [opt_xml.ml]). *)
|
|
|
3c50ef |
let parse_device_xml : (int -> [>`R] D.t -> string list * string list) ref =
|
|
|
3c50ef |
ref (
|
|
|
3c50ef |
fun _ _ -> [], []
|
|
|
3c50ef |
)
|
|
|
3c50ef |
|
|
|
3c50ef |
-(* Hooks for CSV support (see virt_top_csv.ml). *)
|
|
|
3c50ef |
+(* Hooks for CSV support (see [opt_csv.ml]). *)
|
|
|
3c50ef |
let csv_start : (string -> unit) ref =
|
|
|
3c50ef |
ref (
|
|
|
3c50ef |
fun _ -> failwith (s_"virt-top was compiled without support for CSV files")
|
|
|
3c50ef |
@@ -46,7 +46,7 @@ let csv_write : (string list -> unit) ref =
|
|
|
3c50ef |
fun _ -> ()
|
|
|
3c50ef |
)
|
|
|
3c50ef |
|
|
|
3c50ef |
-(* Hook for calendar support (see virt_top_calendar.ml). *)
|
|
|
3c50ef |
+(* Hook for calendar support (see [opt_calendar.ml]). *)
|
|
|
3c50ef |
let parse_date_time : (string -> float) ref =
|
|
|
3c50ef |
ref (
|
|
|
3c50ef |
fun _ ->
|
|
|
3c50ef |
@@ -345,7 +345,7 @@ OPTIONS" in
|
|
|
3c50ef |
|
|
|
3c50ef |
(* This tuple of static information is called 'setup' in other parts
|
|
|
3c50ef |
* of this program, and is passed to other functions such as redraw and
|
|
|
3c50ef |
- * main_loop. See virt_top_main.ml.
|
|
|
3c50ef |
+ * main_loop. See [main.ml].
|
|
|
3c50ef |
*)
|
|
|
3c50ef |
(conn,
|
|
|
3c50ef |
!batch_mode, !script_mode, !csv_enabled, !stream_mode, (* immutable modes *)
|
|
|
3c50ef |
diff --git a/src/top.mli b/src/top.mli
|
|
|
3c50ef |
index 3ad0718..b0953dd 100644
|
|
|
3c50ef |
--- a/src/top.mli
|
|
|
3c50ef |
+++ b/src/top.mli
|
|
|
3c50ef |
@@ -17,15 +17,15 @@
|
|
|
3c50ef |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
3c50ef |
*)
|
|
|
3c50ef |
|
|
|
3c50ef |
-(* Hook for virt_top_xml to override (if present). *)
|
|
|
3c50ef |
+(* Hook for [Opt_xml] to override (if present). *)
|
|
|
3c50ef |
val parse_device_xml :
|
|
|
3c50ef |
(int -> [ `R ] Libvirt.Domain.t -> string list * string list) ref
|
|
|
3c50ef |
|
|
|
3c50ef |
-(* Hooks for virt_top_csv to override (if present). *)
|
|
|
3c50ef |
+(* Hooks for [Opt_csv] to override (if present). *)
|
|
|
3c50ef |
val csv_start : (string -> unit) ref
|
|
|
3c50ef |
val csv_write : (string list -> unit) ref
|
|
|
3c50ef |
|
|
|
3c50ef |
-(* Hook for virt_top_calendar to override (if present). *)
|
|
|
3c50ef |
+(* Hook for [Opt_calendar] to override (if present). *)
|
|
|
3c50ef |
val parse_date_time : (string -> float) ref
|
|
|
3c50ef |
|
|
|
3c50ef |
type setup =
|
|
|
3c50ef |
--
|
|
|
3c50ef |
2.9.3
|
|
|
3c50ef |
|