summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: df26df9)
raw | patch | inline | side by side (parent: df26df9)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 8 Nov 2007 07:26:03 +0000 (08:26 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 8 Nov 2007 07:26:03 +0000 (08:26 +0100) |
I didn't find them before because I couldn't compile the plugin without the
library at hand.
library at hand.
src/libvirtstats.c | patch | blob | history |
diff --git a/src/libvirtstats.c b/src/libvirtstats.c
index 460ee59982b0c99aa39bddb9ea7cfb7c41fcc40d..66b5781dc25e15ff68d940bacbbe6b1e9c798b34 100644 (file)
--- a/src/libvirtstats.c
+++ b/src/libvirtstats.c
static void vcpu_submit (unsigned long long cpu_time,
time_t t,
virDomainPtr dom, int vcpu_nr, const char *type);
-static void submit_counter2 (long long read, long long write,
- time_t t,
- virDomainPtr dom, const char *devname,
- const char *type);
+static void submit_counter2 (const char *type, counter_t v0, counter_t v1,
+ time_t t,
+ virDomainPtr dom, const char *devname);
/* ERROR(...) macro for virterrors. */
#define VIRT_ERROR(conn,s) do { \
int status = 0;
switch (hostname_format[i]) {
- case hf_none;
+ case hf_none:
/* do nothing */
break;
break;
} /* for (i) */
- vl->host[sizeof (host) - 1] = '\0';
+ vl->host[sizeof (vl->host) - 1] = '\0';
} /* void init_value_list */
static void