summaryrefslogtreecommitdiff
path: root/keyboards/gboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-24 04:21:37 +1100
committerGitHub <noreply@github.com>2023-03-23 17:21:37 +0000
commit1e07ff1fb108a305feca659b17ec03ba3e750455 (patch)
tree2e6de7250e713a53a9c5d35759e3b6add867ebb4 /keyboards/gboards
parentfa4dfb542fb62e0279e679a10f1ea7e01b4bf61c (diff)
Fix some more missing `#pragma once`s (#20241)
Diffstat (limited to 'keyboards/gboards')
-rw-r--r--keyboards/gboards/engine/keymap_engine.h2
-rw-r--r--keyboards/gboards/g/config_default.h2
-rw-r--r--keyboards/gboards/g/keymap_combo.h2
-rw-r--r--keyboards/gboards/g/keymap_engine.h3
4 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/gboards/engine/keymap_engine.h b/keyboards/gboards/engine/keymap_engine.h
index 599c1ca3e4..dfed493e21 100644
--- a/keyboards/gboards/engine/keymap_engine.h
+++ b/keyboards/gboards/engine/keymap_engine.h
@@ -7,6 +7,8 @@
* With this disgusting bodge, you can just edit your .defs and compile!
*/
+#pragma once
+
// Clear all X Macros
#define PRES BLANK
#define KEYS BLANK
diff --git a/keyboards/gboards/g/config_default.h b/keyboards/gboards/g/config_default.h
index 821c2c4ad5..56dd634d13 100644
--- a/keyboards/gboards/g/config_default.h
+++ b/keyboards/gboards/g/config_default.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include "engine.h"
// Configuration options for the engine
diff --git a/keyboards/gboards/g/keymap_combo.h b/keyboards/gboards/g/keymap_combo.h
index 68ea44b1b4..c062a298a5 100644
--- a/keyboards/gboards/g/keymap_combo.h
+++ b/keyboards/gboards/g/keymap_combo.h
@@ -1,3 +1,5 @@
+#pragma once
+
// Keymap helpers
// define reference layers per layer.
#define REF_LAYER_FOR_LAYER(LAYER, REF_LAYER) \
diff --git a/keyboards/gboards/g/keymap_engine.h b/keyboards/gboards/g/keymap_engine.h
index 055b5941e4..e134472da0 100644
--- a/keyboards/gboards/g/keymap_engine.h
+++ b/keyboards/gboards/g/keymap_engine.h
@@ -6,6 +6,9 @@
* using a external generator (Like is done for the ASETNIOP base keymaps)
* With this disgusting bodge, you can just edit your .defs and compile!
*/
+
+#pragma once
+
#include "g/engine.h"
// Clear all X Macros