mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +01:00
efi_loader: make get_load_options() static
In program initrddump.efi function get_load_options() can be static.
This avoids a warning when building with 'make W=1':
lib/efi_loader/initrddump.c:442:6: warning:
no previous prototype for ‘get_load_options’ [-Wmissing-prototypes]
442 | u16 *get_load_options(void)
| ^~~~~~~~~~~~~~~~
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
8925f0ee7e
commit
7d840627ca
@ -439,7 +439,7 @@ out:
|
|||||||
*
|
*
|
||||||
* Return: load options or NULL
|
* Return: load options or NULL
|
||||||
*/
|
*/
|
||||||
u16 *get_load_options(void)
|
static u16 *get_load_options(void)
|
||||||
{
|
{
|
||||||
efi_status_t ret;
|
efi_status_t ret;
|
||||||
struct efi_loaded_image *loaded_image;
|
struct efi_loaded_image *loaded_image;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user