summaryrefslogtreecommitdiff
path: root/quantum/keycode_config.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:53:12 +1100
committerGitHub <noreply@github.com>2020-12-26 15:53:12 +1100
commit48f4768d33313e6a6ed48c31f95eb44feda10a51 (patch)
tree49944f8e0399fc661b9adbf7d8c0962995634579 /quantum/keycode_config.h
parent53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff)
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/keycode_config.h')
-rw-r--r--quantum/keycode_config.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/quantum/keycode_config.h b/quantum/keycode_config.h
index aa75ba2c13..f878168c5f 100644
--- a/quantum/keycode_config.h
+++ b/quantum/keycode_config.h
@@ -14,13 +14,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include "eeconfig.h"
#include "keycode.h"
#include "action_code.h"
-#ifndef KEYCODE_CONFIG_H
-# define KEYCODE_CONFIG_H
-
uint16_t keycode_config(uint16_t keycode);
uint8_t mod_config(uint8_t mod);
@@ -42,5 +41,3 @@ typedef union {
} keymap_config_t;
extern keymap_config_t keymap_config;
-
-#endif /* KEYCODE_CONFIG_H */