@@ -19,8 +19,8 @@
#include "hw/fw-path-provider.h"
#include "qemu/module.h"
-char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus,
- DeviceState *dev)
+static char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus,
+ DeviceState *dev)
{
FWPathProviderClass *k = FW_PATH_PROVIDER_GET_CLASS(p);
@@ -36,8 +36,6 @@ struct FWPathProviderClass {
char *(*get_dev_path)(FWPathProvider *p, BusState *bus, DeviceState *dev);
};
-char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus,
- DeviceState *dev);
char *fw_path_provider_try_get_dev_path(Object *o, BusState *bus,
DeviceState *dev);
This function is used only by fw_path_provider_try_get_dev_path() in the same file. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> --- hw/core/fw-path-provider.c | 4 ++-- include/hw/fw-path-provider.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-)