summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_code.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:56:11 +1100
committerDrashna Jael're <drashna@live.com>2021-01-12 22:46:11 -0800
commit60fd4d61efcce3cda09ef2273f77bce49c1db456 (patch)
treea186c59c1897e9ee88fc65fdbd70a73f8aba51ad /tmk_core/common/action_code.h
parent3635973fd58ffc718805c1e85fa1be9bca4cfffd (diff)
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
Diffstat (limited to 'tmk_core/common/action_code.h')
-rw-r--r--tmk_core/common/action_code.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tmk_core/common/action_code.h b/tmk_core/common/action_code.h
index eea554ff21..eb18c36ae8 100644
--- a/tmk_core/common/action_code.h
+++ b/tmk_core/common/action_code.h
@@ -14,8 +14,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef ACTION_CODE_H
-#define ACTION_CODE_H
+
+#pragma once
/** \brief Action codes
*
@@ -306,5 +306,3 @@ enum swap_hands_param_tap_op {
#define ACTION_SWAP_HANDS_OFF_ON() ACTION(ACT_SWAP_HANDS, OP_SH_OFF_ON)
#define ACTION_SWAP_HANDS_ON() ACTION(ACT_SWAP_HANDS, OP_SH_ON)
#define ACTION_SWAP_HANDS_OFF() ACTION(ACT_SWAP_HANDS, OP_SH_OFF)
-
-#endif /* ACTION_CODE_H */