summaryrefslogtreecommitdiff
path: root/Kernel/API/KeyCode.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Kernel/API/KeyCode.h
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Kernel/API/KeyCode.h')
-rw-r--r--Kernel/API/KeyCode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/API/KeyCode.h b/Kernel/API/KeyCode.h
index a212bdd65f..ba04a9843a 100644
--- a/Kernel/API/KeyCode.h
+++ b/Kernel/API/KeyCode.h
@@ -125,7 +125,7 @@ enum KeyCode : u8 {
Key_Shift
= Key_LeftShift,
};
-const int key_code_count = Key_Menu;
+int const key_code_count = Key_Menu;
enum KeyModifier {
Mod_None = 0x00,
@@ -155,7 +155,7 @@ struct KeyEvent {
bool is_press() const { return flags & Is_Press; }
};
-inline const char* key_code_to_string(KeyCode key)
+inline char const* key_code_to_string(KeyCode key)
{
switch (key) {
#define __ENUMERATE_KEY_CODE(name, ui_name) \