diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-26 15:56:11 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 15:56:11 +1100 |
commit | 1d1d5da43f86d9dded47c66afec94991d623f114 (patch) | |
tree | 5f0d4d303a1f5dd67a3d9a19b0f99b8e3f06a4e6 /tmk_core/common/action_layer.h | |
parent | 48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff) | |
download | qmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.tar.gz qmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.zip |
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
Diffstat (limited to 'tmk_core/common/action_layer.h')
-rw-r--r-- | tmk_core/common/action_layer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h index f9f686112..d72cd3e3a 100644 --- a/tmk_core/common/action_layer.h +++ b/tmk_core/common/action_layer.h | |||
@@ -14,8 +14,8 @@ GNU General Public License for more details. | |||
14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License |
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | #ifndef ACTION_LAYER_H | 17 | |
18 | #define ACTION_LAYER_H | 18 | #pragma once |
19 | 19 | ||
20 | #include <stdint.h> | 20 | #include <stdint.h> |
21 | #include "keyboard.h" | 21 | #include "keyboard.h" |
@@ -120,5 +120,3 @@ uint8_t layer_switch_get_layer(keypos_t key); | |||
120 | 120 | ||
121 | /* return action depending on current layer status */ | 121 | /* return action depending on current layer status */ |
122 | action_t layer_switch_get_action(keypos_t key); | 122 | action_t layer_switch_get_action(keypos_t key); |
123 | |||
124 | #endif | ||