]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: static functions in efi_console.c
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 07:51:41 +0000 (08:51 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 12:05:40 +0000 (13:05 +0100)
Define function set_shift_mask() as static as it is not used externally.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_console.c

index 1ed8c7aa36eb0affb449fd3cf9f469e002af0cc1..43176309077caa78d6158f463a4a98f29f4f146f 100644 (file)
@@ -669,7 +669,7 @@ static LIST_HEAD(cin_notify_functions);
  * @mod:       Xterm shift mask
  * @key_state:  receives the state of the shift, alt, control, and logo keys
  */
-void set_shift_mask(int mod, struct efi_key_state *key_state)
+static void set_shift_mask(int mod, struct efi_key_state *key_state)
 {
        key_state->key_shift_state = EFI_SHIFT_STATE_VALID;
        if (mod) {