aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/libqos/qos_external.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-04-24 09:11:42 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-04-29 08:01:52 +0200
commitf6528054f2ef7aab5c70664419b982b50142c25a (patch)
tree904b0611b6067630f574364aef6d3babac7a8d2d /tests/qtest/libqos/qos_external.c
parenta56f3cdbdf328d95398c70432bba638a6b3f63fa (diff)
libqos: Give get_machine_allocator() internal linkage
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200424071142.3525-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/qtest/libqos/qos_external.c')
-rw-r--r--tests/qtest/libqos/qos_external.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/libqos/qos_external.c b/tests/qtest/libqos/qos_external.c
index c707dac3b9..9f5180e18d 100644
--- a/tests/qtest/libqos/qos_external.c
+++ b/tests/qtest/libqos/qos_external.c
@@ -66,7 +66,7 @@ void types_apply_to_node(ObjectTypeInfoList *type_info)
}
}
-QGuestAllocator *get_machine_allocator(QOSGraphObject *obj)
+static QGuestAllocator *get_machine_allocator(QOSGraphObject *obj)
{
return obj->get_driver(obj, "memory");
}