This function is used only by fw_path_provider_try_get_dev_path() in the same file.
Signed-off-by: Daniel Henrique Barboza <danielhb...@gmail.com> --- hw/core/fw-path-provider.c | 4 ++-- include/hw/fw-path-provider.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/core/fw-path-provider.c b/hw/core/fw-path-provider.c index 4840faefd1..4bcf4e7e34 100644 --- a/hw/core/fw-path-provider.c +++ b/hw/core/fw-path-provider.c @@ -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); diff --git a/include/hw/fw-path-provider.h b/include/hw/fw-path-provider.h index 8e1d45651c..9ef50ebe4a 100644 --- a/include/hw/fw-path-provider.h +++ b/include/hw/fw-path-provider.h @@ -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); -- 2.34.1