From 48f4768d33313e6a6ed48c31f95eb44feda10a51 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 26 Dec 2020 15:53:12 +1100 Subject: Change include guards in quantum/ to pragma once (#11239) --- quantum/keymap_extras/keymap_nordic.h | 6 ++---- quantum/keymap_extras/keymap_plover_dvorak.h | 6 ++---- quantum/keymap_extras/keymap_steno.h | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) (limited to 'quantum/keymap_extras') diff --git a/quantum/keymap_extras/keymap_nordic.h b/quantum/keymap_extras/keymap_nordic.h index 8d2f76f273..76d2f4f6b0 100644 --- a/quantum/keymap_extras/keymap_nordic.h +++ b/quantum/keymap_extras/keymap_nordic.h @@ -13,8 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef KEYMAP_NORDIC_H -#define KEYMAP_NORDIC_H + +#pragma once #include "keymap.h" @@ -66,5 +66,3 @@ #define NO_BSLS ALGR(KC_MINS) #define NO_MU ALGR(KC_M) - -#endif diff --git a/quantum/keymap_extras/keymap_plover_dvorak.h b/quantum/keymap_extras/keymap_plover_dvorak.h index d40ff5c6bb..445a123151 100644 --- a/quantum/keymap_extras/keymap_plover_dvorak.h +++ b/quantum/keymap_extras/keymap_plover_dvorak.h @@ -13,8 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef KEYMAP_PLOVER_DVORAK_H -#define KEYMAP_PLOVER_DVORAK_H + +#pragma once #include "keymap_dvorak.h" @@ -43,5 +43,3 @@ #define PD_O DV_V #define PD_E DV_N #define PD_U DV_M - -#endif diff --git a/quantum/keymap_extras/keymap_steno.h b/quantum/keymap_extras/keymap_steno.h index 31dcbf7064..b9115fb8bf 100644 --- a/quantum/keymap_extras/keymap_steno.h +++ b/quantum/keymap_extras/keymap_steno.h @@ -13,8 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef KEYMAP_STENO_H -#define KEYMAP_STENO_H + +#pragma once #include "keymap.h" @@ -72,5 +72,3 @@ enum steno_keycodes { STN_ZR, STN__MAX = STN_ZR, // must be less than QK_STENO_BOLT }; - -#endif -- cgit v1.2.3