summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/action_macro.h')
-rw-r--r--tmk_core/common/action_macro.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tmk_core/common/action_macro.h b/tmk_core/common/action_macro.h
index 21004ead62..685e2c6ffc 100644
--- a/tmk_core/common/action_macro.h
+++ b/tmk_core/common/action_macro.h
@@ -14,8 +14,9 @@ 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_MACRO_H
-#define ACTION_MACRO_H
+
+#pragma once
+
#include <stdint.h>
#include "progmem.h"
@@ -120,5 +121,3 @@ enum macro_command_id {
/* for backward comaptibility */
#define MD(key) DOWN(KC_##key)
#define MU(key) UP(KC_##key)
-
-#endif /* ACTION_MACRO_H */