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