diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c index edf9f54f7710372ecadcad18f5e8eb15f1b57c65..33b91940419a8b28529295e726f0f46337fe1969 100644 --- a/src/conf/capabilities.c +++ b/src/conf/capabilities.c @@ -58,14 +58,14 @@ VIR_ENUM_IMPL(virCapsHostPMTarget, VIR_NODE_SUSPEND_TARGET_LAST, "suspend_mem", "suspend_disk", "suspend_hybrid"); static virClassPtr virCapsClass; -static void virCapabilitiesDispose(void *obj); +static void virCapsDispose(void *obj); static int virCapabilitiesOnceInit(void) { if (!(virCapsClass = virClassNew(virClassForObject(), "virCaps", sizeof(virCaps), - virCapabilitiesDispose))) + virCapsDispose))) return -1; return 0; @@ -215,7 +215,7 @@ virCapabilitiesClearSecModel(virCapsHostSecModelPtr secmodel) } static void -virCapabilitiesDispose(void *object) +virCapsDispose(void *object) { virCapsPtr caps = object; size_t i; diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index d23182f18a47778a1fad1f637c896331bfc41a2c..4dad8e3b2069dbda3fc3e24e13a6754850115ad0 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -934,7 +934,7 @@ VIR_ENUM_IMPL(virDomainShmemModel, VIR_DOMAIN_SHMEM_MODEL_LAST, static virClassPtr virDomainObjClass; static virClassPtr virDomainXMLOptionClass; static void virDomainObjDispose(void *obj); -static void virDomainXMLOptionClassDispose(void *obj); +static void virDomainXMLOptionDispose(void *obj); static int virDomainObjOnceInit(void) { @@ -947,7 +947,7 @@ static int virDomainObjOnceInit(void) if (!(virDomainXMLOptionClass = virClassNew(virClassForObject(), "virDomainXMLOption", sizeof(virDomainXMLOption), - virDomainXMLOptionClassDispose))) + virDomainXMLOptionDispose))) return -1; return 0; @@ -957,7 +957,7 @@ VIR_ONCE_GLOBAL_INIT(virDomainObj) static void -virDomainXMLOptionClassDispose(void *obj) +virDomainXMLOptionDispose(void *obj) { virDomainXMLOptionPtr xmlopt = obj;