aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-12-12 20:31:51 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2017-01-24 23:26:53 +0300
commit63f7b10bc552be8a2cd1da87e8b27f9a5a217b91 (patch)
treebcd74af054023a12db43201accf3c64ef2b724e8 /qom
parent39a1075a8b54aeb48a2d400f3d6ba5674e194fca (diff)
object: make some funcs static
There is no need to have those functions as public API. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qom')
-rw-r--r--qom/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qom/object.c b/qom/object.c
index 760fafb0dc..eb4bc924ff 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -357,7 +357,7 @@ static void object_post_init_with_type(Object *obj, TypeImpl *ti)
}
}
-void object_initialize_with_type(void *data, size_t size, TypeImpl *type)
+static void object_initialize_with_type(void *data, size_t size, TypeImpl *type)
{
Object *obj = data;
@@ -473,7 +473,7 @@ static void object_finalize(void *data)
}
}
-Object *object_new_with_type(Type type)
+static Object *object_new_with_type(Type type)
{
Object *obj;