提交 339c2708 编写于 作者: P Paolo Bonzini 提交者: Anthony Liguori

qom: make object_finalize static

It is not used anymore, and there is no need to make it public.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 64b625f4
......@@ -504,15 +504,6 @@ void object_initialize_with_type(void *data, Type type);
*/
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:
* @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;
TypeImpl *ti = obj->class->type;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册