mirror of https://github.com/xqemu/xqemu.git
qom: make object_finalize static
It is not used anymore, and there is no need to make it public. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
64b625f4b2
commit
339c2708e7
|
@ -504,15 +504,6 @@ void object_initialize_with_type(void *data, Type type);
|
||||||
*/
|
*/
|
||||||
void object_initialize(void *obj, const char *typename);
|
void object_initialize(void *obj, const char *typename);
|
||||||
|
|
||||||
/**
|
|
||||||
* object_finalize:
|
|
||||||
* @obj: The object to finalize.
|
|
||||||
*
|
|
||||||
* This function destroys and object without freeing the memory associated with
|
|
||||||
* it.
|
|
||||||
*/
|
|
||||||
void object_finalize(void *obj);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* object_dynamic_cast:
|
* object_dynamic_cast:
|
||||||
* @obj: The object to cast.
|
* @obj: The object to cast.
|
||||||
|
|
|
@ -379,7 +379,7 @@ static void object_deinit(Object *obj, TypeImpl *type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void object_finalize(void *data)
|
static void object_finalize(void *data)
|
||||||
{
|
{
|
||||||
Object *obj = data;
|
Object *obj = data;
|
||||||
TypeImpl *ti = obj->class->type;
|
TypeImpl *ti = obj->class->type;
|
||||||
|
|
Loading…
Reference in New Issue