public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 1/1] efi_loader: Mark a function static
@ 2024-10-21 14:05 Andy Shevchenko
  2024-10-21 14:40 ` Ilias Apalodimas
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Shevchenko @ 2024-10-21 14:05 UTC (permalink / raw)
  To: AKASHI Takahiro, u-boot
  Cc: Heinrich Schuchardt, Ilias Apalodimas, Tom Rini, Andy Shevchenko

efi_bootmgr_release_uridp_resource() is not used anywhere except
the same file where it is defined. Mark it static.
This helps avoiding the compiler warning:

  lib/efi_loader/efi_bootmgr.c:388:14: warning: no previous prototype for ‘efi_bootmgr_release_uridp_resource’ [-Wmissing-prototypes]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 lib/efi_loader/efi_bootmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c
index 589d3996b680..79144962cd73 100644
--- a/lib/efi_loader/efi_bootmgr.c
+++ b/lib/efi_loader/efi_bootmgr.c
@@ -385,7 +385,7 @@ err:
  * @ctx:	event context
  * Return:	status code
  */
-efi_status_t efi_bootmgr_release_uridp_resource(struct uridp_context *ctx)
+static efi_status_t efi_bootmgr_release_uridp_resource(struct uridp_context *ctx)
 {
 	efi_status_t ret = EFI_SUCCESS;
 
-- 
2.43.0.rc1.1336.g36b5255a03ac


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-10-24 14:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 14:05 [PATCH v1 1/1] efi_loader: Mark a function static Andy Shevchenko
2024-10-21 14:40 ` Ilias Apalodimas
2024-10-22  6:02   ` Heinrich Schuchardt
2024-10-22 13:18     ` Andy Shevchenko
2024-10-24  5:03       ` Heinrich Schuchardt
2024-10-24  6:26         ` Andy Shevchenko
2024-10-24 14:18           ` Tom Rini
2024-10-24 14:37             ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox