summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-02-10 08:51:41 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-02-10 13:05:40 +0100
commite7175f9320d9806e4c36ca3715d923b2a7dfcc7f (patch)
tree215c42bbeb1fff80e21f030841e3f50d18657de7 /lib
parentbe6784789eb10391473bffbe72c643f2a8c565a4 (diff)
efi_loader: static functions in efi_console.c
Define function set_shift_mask() as static as it is not used externally. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c
index 1ed8c7aa36..4317630907 100644
--- a/lib/efi_loader/efi_console.c
+++ b/lib/efi_loader/efi_console.c
@@ -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) {