While building under RHEL-5, I got a compile warning because
virDomainObjFormat was defined but not used. That came about
because in RHEL-5 we build with "#define PROXY", and
virDomainObjFormat is only used with !PROXY. Move the
define.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
return NULL;
}
+#ifndef PROXY
+
static char *virDomainObjFormat(virCapsPtr caps,
virDomainObjPtr obj,
int flags)
return NULL;
}
-
-#ifndef PROXY
-
int virDomainSaveXML(const char *configDir,
virDomainDefPtr def,
const char *xml)