diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-26 15:53:12 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 15:53:12 +1100 |
commit | 48f4768d33313e6a6ed48c31f95eb44feda10a51 (patch) | |
tree | 49944f8e0399fc661b9adbf7d8c0962995634579 /quantum/keycode_config.h | |
parent | 53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff) | |
download | qmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.tar.gz qmk_firmware-48f4768d33313e6a6ed48c31f95eb44feda10a51.zip |
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/keycode_config.h')
-rw-r--r-- | quantum/keycode_config.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/quantum/keycode_config.h b/quantum/keycode_config.h index aa75ba2c1..f878168c5 100644 --- a/quantum/keycode_config.h +++ b/quantum/keycode_config.h | |||
@@ -14,13 +14,12 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #pragma once | ||
18 | |||
17 | #include "eeconfig.h" | 19 | #include "eeconfig.h" |
18 | #include "keycode.h" | 20 | #include "keycode.h" |
19 | #include "action_code.h" | 21 | #include "action_code.h" |
20 | 22 | ||
21 | #ifndef KEYCODE_CONFIG_H | ||
22 | # define KEYCODE_CONFIG_H | ||
23 | |||
24 | uint16_t keycode_config(uint16_t keycode); | 23 | uint16_t keycode_config(uint16_t keycode); |
25 | uint8_t mod_config(uint8_t mod); | 24 | uint8_t mod_config(uint8_t mod); |
26 | 25 | ||
@@ -42,5 +41,3 @@ typedef union { | |||
42 | } keymap_config_t; | 41 | } keymap_config_t; |
43 | 42 | ||
44 | extern keymap_config_t keymap_config; | 43 | extern keymap_config_t keymap_config; |
45 | |||
46 | #endif /* KEYCODE_CONFIG_H */ | ||