From 9ade389069a6898196dd8648461f30ea1e27aee1 Mon Sep 17 00:00:00 2001 From: Avinash Sonawane Date: Mon, 16 Oct 2023 09:08:06 +0530 Subject: [PATCH] Make sc_usb_devices_destroy() static It is only called from the implementation file. PR #4371 Signed-off-by: Romain Vimont --- app/src/usb/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/usb/usb.c b/app/src/usb/usb.c index 310ed5d9..4f750581 100644 --- a/app/src/usb/usb.c +++ b/app/src/usb/usb.c @@ -93,7 +93,7 @@ sc_usb_device_move(struct sc_usb_device *dst, struct sc_usb_device *src) { src->product = NULL; } -void +static void sc_usb_devices_destroy(struct sc_vec_usb_devices *usb_devices) { for (size_t i = 0; i < usb_devices->size; ++i) { sc_usb_device_destroy(&usb_devices->data[i]);