# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 62376b480034a3a53f7c40053bfe34f1723f7f9a
# Parent eccbf694ba0bdd6579e626f6aa72dd8e77083a84
Rename abstract_value.double_val -> float_val. All the other names match the
abstract type names in the doc, so this one should too.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/libxen/include/xen_internal.h | 3 ++-
tools/libxen/src/xen_common.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff -r eccbf694ba0b -r 62376b480034 tools/libxen/include/xen_internal.h
--- a/tools/libxen/include/xen_internal.h Thu Nov 09 11:37:35 2006 +0000
+++ b/tools/libxen/include/xen_internal.h Thu Nov 09 11:40:28 2006 +0000
@@ -96,10 +96,11 @@ typedef struct abstract_value
const char *string_val;
int64_t int_val;
int enum_val;
- double double_val;
+ double float_val;
bool bool_val;
arbitrary_set *set_val;
void *struct_val;
+ time_t datetime_val;
} u;
} abstract_value;
diff -r eccbf694ba0b -r 62376b480034 tools/libxen/src/xen_common.c
--- a/tools/libxen/src/xen_common.c Thu Nov 09 11:37:35 2006 +0000
+++ b/tools/libxen/src/xen_common.c Thu Nov 09 11:40:28 2006 +0000
@@ -1050,7 +1050,7 @@ make_body(const char *method_name, abstr
break;
case FLOAT:
- snprintf(buf, sizeof(buf), "%lf", v->u.double_val);
+ snprintf(buf, sizeof(buf), "%lf", v->u.float_val);
add_param(params_node, "double", buf);
break;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|