From 5a717baa633b0798ceb21c6cc2f67d087924d82c Mon Sep 17 00:00:00 2001 From: mtei <2170248+mtei@users.noreply.github.com> Date: Thu, 26 Sep 2019 06:32:45 +0900 Subject: [PATCH] Helix helix.h,rev?/rev?.h,pico/pico.h use '#pragma once' No change in build result. --- keyboards/helix/helix.h | 5 +---- keyboards/helix/pico/pico.h | 6 +----- keyboards/helix/rev1/rev1.h | 4 +--- keyboards/helix/rev2/rev2.h | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/keyboards/helix/helix.h b/keyboards/helix/helix.h index d73feb6bbf8..7dac2455deb 100644 --- a/keyboards/helix/helix.h +++ b/keyboards/helix/helix.h @@ -1,5 +1,4 @@ -#ifndef HELIX_H -#define HELIX_H +#pragma once #ifdef KEYBOARD_helix_rev1 #include "rev1.h" @@ -12,5 +11,3 @@ #endif #include "quantum.h" - -#endif diff --git a/keyboards/helix/pico/pico.h b/keyboards/helix/pico/pico.h index d9c57206c61..4360be2a9c1 100644 --- a/keyboards/helix/pico/pico.h +++ b/keyboards/helix/pico/pico.h @@ -1,5 +1,4 @@ -#ifndef PICO_H -#define PICO_CONFIG_H +#pragma once #include "../helix.h" @@ -70,6 +69,3 @@ KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##L36, KC_##R36, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35 \ ) - - -#endif diff --git a/keyboards/helix/rev1/rev1.h b/keyboards/helix/rev1/rev1.h index a8d6ff05074..8676be948ed 100644 --- a/keyboards/helix/rev1/rev1.h +++ b/keyboards/helix/rev1/rev1.h @@ -1,5 +1,4 @@ -#ifndef REV1_H -#define REV1_CONFIG_H +#pragma once #include "../helix.h" @@ -179,4 +178,3 @@ ) #endif -#endif diff --git a/keyboards/helix/rev2/rev2.h b/keyboards/helix/rev2/rev2.h index f4929998381..12428e12bbb 100644 --- a/keyboards/helix/rev2/rev2.h +++ b/keyboards/helix/rev2/rev2.h @@ -1,5 +1,4 @@ -#ifndef REV2_H -#define REV2_CONFIG_H +#pragma once #include "../helix.h" @@ -136,5 +135,3 @@ KC_##L40, KC_##L41, KC_##L42, KC_##L43, KC_##L44, KC_##L45, KC_##L46, KC_##R46, KC_##R40, KC_##R41, KC_##R42, KC_##R43, KC_##R44, KC_##R45 \ ) #endif - -#endif