]> Git Repo - qemu.git/commitdiff
libqos: Give get_machine_allocator() internal linkage
authorMarkus Armbruster <[email protected]>
Fri, 24 Apr 2020 07:11:42 +0000 (09:11 +0200)
committerMarkus Armbruster <[email protected]>
Wed, 29 Apr 2020 06:01:52 +0000 (08:01 +0200)
Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <20200424071142[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
tests/qtest/libqos/qos_external.c
tests/qtest/libqos/qos_external.h

index c707dac3b9dac6cbfe32c6c1c5b5b6590ea0d6ea..9f5180e18d2c699cab324e531b66a378790b6f32 100644 (file)
@@ -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");
 }
index f63388cb3069be5c444130e78d5e66954f286cc4..72d7f91707e9176383a75c0fc70ee14c58c14a21 100644 (file)
@@ -18,7 +18,6 @@
 
 #ifndef QOS_EXTERNAL_H
 #define QOS_EXTERNAL_H
-#include "libqos/qgraph.h"
 
 #include "libqos/malloc.h"
 #include "qapi/qapi-types-machine.h"
@@ -26,7 +25,6 @@
 
 void machines_apply_to_node(MachineInfoList *mach_info);
 void types_apply_to_node(ObjectTypeInfoList *type_info);
-QGuestAllocator *get_machine_allocator(QOSGraphObject *obj);
 void *allocate_objects(QTestState *qts, char **path, QGuestAllocator **p_alloc);
 
 #endif
This page took 0.02617 seconds and 4 git commands to generate.