This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Fix some more missing `#pragma once`s (
#20241
)
pull/20253/head
Ryan
1 year ago
committed by
GitHub
parent
fa4dfb542f
commit
1e07ff1fb1
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
25 changed files
with
50 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
keyboards/25keys/cassette42/common/oled_helper.h
+2
-0
keyboards/doio/kb16/lib/bongocat/bongocat.h
+2
-0
keyboards/doio/kb16/lib/layer_status/layer_status.h
+2
-0
keyboards/doio/kb16/lib/logo.h
+2
-0
keyboards/gboards/engine/keymap_engine.h
+2
-0
keyboards/gboards/g/config_default.h
+2
-0
keyboards/gboards/g/keymap_combo.h
+3
-0
keyboards/gboards/g/keymap_engine.h
+2
-0
keyboards/gopolar/gg86/lib/logo.h
+2
-0
keyboards/gopolar/gg86/lib/wave.h
+2
-0
keyboards/handwired/d48/taphold.h
+2
-0
keyboards/handwired/promethium/color.h
+2
-0
keyboards/handwired/promethium/rgbsps.h
+2
-0
keyboards/handwired/symmetric70_proto/matrix_fast/test_config.h
+2
-0
keyboards/handwired/symmetric70_proto/matrix_fast/test_config_74hc157.h
+2
-0
keyboards/handwired/symmetric70_proto/matrix_fast/test_config_direct.h
+1
-4
keyboards/hhkb/rn42/suart.h
+2
-0
keyboards/horrortroll/handwired_k552/lib/bongocat.h
+2
-0
keyboards/horrortroll/handwired_k552/lib/galaxy.h
+2
-0
keyboards/horrortroll/handwired_k552/lib/logo.h
+2
-0
keyboards/horrortroll/lemon40/lib/bongocat.h
+2
-0
keyboards/marksard/rhymestone/common/oled_helper.h
+2
-0
keyboards/marksard/treadstone48/common/oled_helper.h
+2
-0
keyboards/work_louder/rgb_functions.h
+2
-0
keyboards/yushakobo/quick17/quick17_prefs.h
+ 2
- 0
keyboards/25keys/cassette42/common/oled_helper.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
ifdef OLED_ENABLE
void
render_logo
(
void
)
;
+ 2
- 0
keyboards/doio/kb16/lib/bongocat/bongocat.h
View File
@ -14,4 +14,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_bongocat
(
void
)
;
+ 2
- 0
keyboards/doio/kb16/lib/layer_status/layer_status.h
View File
@ -15,4 +15,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_layer_status
(
void
)
;
+ 2
- 0
keyboards/doio/kb16/lib/logo.h
View File
@ -15,4 +15,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_logo
(
void
)
;
+ 2
- 0
keyboards/gboards/engine/keymap_engine.h
View File
@ -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
+ 2
- 0
keyboards/gboards/g/config_default.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
include
"engine.h"
/
/
Configuration
options
for
the
engine
+ 2
- 0
keyboards/gboards/g/keymap_combo.h
View File
@ -1,3 +1,5 @@
#
pragma once
/
/
Keymap
helpers
/
/
define
reference
layers
per
layer
.
#
define REF_LAYER_FOR_LAYER(LAYER, REF_LAYER) \
+ 3
- 0
keyboards/gboards/g/keymap_engine.h
View File
@ -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
+ 2
- 0
keyboards/gopolar/gg86/lib/logo.h
View File
@ -14,4 +14,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_logo
(
void
)
;
+ 2
- 0
keyboards/gopolar/gg86/lib/wave.h
View File
@ -15,6 +15,8 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
extern
const
unsigned
char
font
[
]
PROGMEM
;
#
define ROW_1 OLED_DISPLAY_WIDTH
+ 2
- 0
keyboards/handwired/d48/taphold.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
include
"quantum.h"
typedef
enum
taphold_mode_t
{
+ 2
- 0
keyboards/handwired/promethium/color.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
define COLOR_BLANK 0, 0, 0
#
define COLOR_BLACK 0, 0, 0
+ 2
- 0
keyboards/handwired/promethium/rgbsps.h
View File
@ -1,3 +1,5 @@
#
pragma once
void
rgbsps_set
(
uint8_t
index
,
uint8_t
r
,
uint8_t
g
,
uint8_t
b
)
;
void
rgbsps_setall
(
uint8_t
r
,
uint8_t
g
,
uint8_t
b
)
;
void
rgbsps_turnoff
(
void
)
;
+ 2
- 0
keyboards/handwired/symmetric70_proto/matrix_fast/test_config.h
View File
@ -1,3 +1,5 @@
#
pragma once
/
/
list
of
OUTPUT
(
row
)
ports
#
define MATRIX_OUT_PORTS (Port_D, MCU_GPIO, D0), (Port_C, MCU_GPIO, C0), (Port_E, MCU_GPIO, E0), (Port_B, MCU_GPIO, B0)
/
/
list
of
OUTPUT
(
row
)
pins
+ 2
- 0
keyboards/handwired/symmetric70_proto/matrix_fast/test_config_74hc157.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
define MATRIX_EXTENSION_74HC157 B2
/
/
#
define
MATRIX_EXTENSION_74HC153
B2
,
B6
+ 2
- 0
keyboards/handwired/symmetric70_proto/matrix_fast/test_config_direct.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
if defined(__AVR__)
/* -------------------- AVR (Pro Micro) ----------------------- */
+ 1
- 4
keyboards/hhkb/rn42/suart.h
View File
@ -1,8 +1,5 @@
#
ifndef SUART
#
define SUART
#
pragma once
void
xmit
(
uint8_t
)
;
uint8_t
rcvr
(
void
)
;
uint8_t
recv
(
void
)
;
#
endif
/* SUART */
+ 2
- 0
keyboards/horrortroll/handwired_k552/lib/bongocat.h
View File
@ -14,4 +14,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_bongocat
(
void
)
;
+ 2
- 0
keyboards/horrortroll/handwired_k552/lib/galaxy.h
View File
@ -14,4 +14,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_galaxy
(
void
)
;
+ 2
- 0
keyboards/horrortroll/handwired_k552/lib/logo.h
View File
@ -14,4 +14,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_logo
(
void
)
;
+ 2
- 0
keyboards/horrortroll/lemon40/lib/bongocat.h
View File
@ -14,4 +14,6 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
void
render_bongocat
(
void
)
;
+ 2
- 0
keyboards/marksard/rhymestone/common/oled_helper.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
include
<stdint.h>
#
include
"action.h"
+ 2
- 0
keyboards/marksard/treadstone48/common/oled_helper.h
View File
@ -1,3 +1,5 @@
#
pragma once
#
ifdef OLED_ENABLE
#
include
<stdint.h>
+ 2
- 0
keyboards/work_louder/rgb_functions.h
View File
@ -14,6 +14,8 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
#
include
"quantum.h"
#
ifndef VIA_ENABLE
+ 2
- 0
keyboards/yushakobo/quick17/quick17_prefs.h
View File
@ -14,6 +14,8 @@
*
along
with
this
program
.
If
not
,
see
<
http
:
/
/
www
.
gnu
.
org
/
licenses
/
>
.
*/
#
pragma once
#
include
"quantum.h"
enum
layer_names
{
Write
Preview
Loading…
Cancel
Save