From d0ebafaea6847926e6391a6920821bcb17b3c39c Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 1 Jan 2023 00:54:12 +0000 Subject: Align definition of unicode_map (#19452) --- users/charlesrocket/apl.c | 2 +- users/klackygears/klackygears.h | 2 +- users/konstantin/unicode.c | 2 +- users/konstantin/unicode.h | 2 +- users/kuchosauronad0/unicode.c | 2 +- users/nstickney/unicodemap.h | 2 +- users/ridingqwerty/unicode.c | 2 +- users/ridingqwerty/unicode.h | 2 +- users/rmeli/keyrecords/unicode.h | 2 +- users/rupa/unicode.c | 2 +- users/rverst/unicode.h | 2 +- users/spidey3/spidey3_unicode.c | 2 +- users/yet-another-developer/unicode.c | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) (limited to 'users') diff --git a/users/charlesrocket/apl.c b/users/charlesrocket/apl.c index 63d835c909..92c1ea9f3d 100644 --- a/users/charlesrocket/apl.c +++ b/users/charlesrocket/apl.c @@ -99,7 +99,7 @@ enum unicode_names { QUAD_COLON }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [DIAMOND] = 0x25CA, // ◊ 0 [QUAD_DIAMOND] = 0x233A, // ⌺ [DIAERESIS] = 0x00A8, // ¨ diff --git a/users/klackygears/klackygears.h b/users/klackygears/klackygears.h index 69f3279e2f..c131d46428 100644 --- a/users/klackygears/klackygears.h +++ b/users/klackygears/klackygears.h @@ -53,7 +53,7 @@ enum unicode_names { SNEK, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x203D, // ‽ [IRONY] = 0x2E2E, // ⸮ [SNEK] = 0x1F40D, // 🐍 diff --git a/users/konstantin/unicode.c b/users/konstantin/unicode.c index 4eae716afd..ed92b818b0 100644 --- a/users/konstantin/unicode.c +++ b/users/konstantin/unicode.c @@ -17,7 +17,7 @@ #include "unicode.h" #ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { FOREACH_UNICODE(UCM_ENTRY) }; #endif diff --git a/users/konstantin/unicode.h b/users/konstantin/unicode.h index 1a1eb60894..82caea7c9a 100644 --- a/users/konstantin/unicode.h +++ b/users/konstantin/unicode.h @@ -42,7 +42,7 @@ enum unicode_names { FOREACH_UNICODE(UCM_NAME) }; -extern const uint32_t PROGMEM unicode_map[]; +extern const uint32_t unicode_map[] PROGMEM; enum unicode_keycodes { FOREACH_UNICODE(UCM_KEYCODE) diff --git a/users/kuchosauronad0/unicode.c b/users/kuchosauronad0/unicode.c index 8b312deb66..f0168cef9f 100644 --- a/users/kuchosauronad0/unicode.c +++ b/users/kuchosauronad0/unicode.c @@ -1,7 +1,7 @@ #include "unicode.h" //#ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x0203D,// ‽ [IRONY] = 0x02E2E,// ⸮ [DEGREE] = 0x000B0,// ° diff --git a/users/nstickney/unicodemap.h b/users/nstickney/unicodemap.h index 3b7d9e3053..4360504ecb 100644 --- a/users/nstickney/unicodemap.h +++ b/users/nstickney/unicodemap.h @@ -37,7 +37,7 @@ enum { CPL }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [IEX] = 0xA1, // ¡ [SS2] = 0xB2, // ² [SS3] = 0xB3, // ³ diff --git a/users/ridingqwerty/unicode.c b/users/ridingqwerty/unicode.c index 8ef5aaa1ec..5a4c154919 100644 --- a/users/ridingqwerty/unicode.c +++ b/users/ridingqwerty/unicode.c @@ -1,7 +1,7 @@ #include "unicode.h" #ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { FOREACH_UNICODE(UCM_ENTRY) }; #endif diff --git a/users/ridingqwerty/unicode.h b/users/ridingqwerty/unicode.h index 8b403272ae..de8d1593b4 100644 --- a/users/ridingqwerty/unicode.h +++ b/users/ridingqwerty/unicode.h @@ -227,7 +227,7 @@ enum unicode_names { FOREACH_UNICODE(UCM_NAME) }; -extern const uint32_t PROGMEM unicode_map[]; +extern const uint32_t unicode_map[] PROGMEM; enum unicode_keycodes { FOREACH_UNICODE(UCM_KEYCODE) diff --git a/users/rmeli/keyrecords/unicode.h b/users/rmeli/keyrecords/unicode.h index d818af02ee..c3ba96d5b6 100644 --- a/users/rmeli/keyrecords/unicode.h +++ b/users/rmeli/keyrecords/unicode.h @@ -45,7 +45,7 @@ enum unicode_names { UUML, }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { // KC_A [aGRV] = 0x00E0, // à [AGRV] = 0x00C0, // À diff --git a/users/rupa/unicode.c b/users/rupa/unicode.c index 2302a95552..f99e6d0832 100644 --- a/users/rupa/unicode.c +++ b/users/rupa/unicode.c @@ -21,7 +21,7 @@ combined_mode_t combined_mode = CM_NULL; bool _seeded = false; #if defined(UNICODEMAP_ENABLE) -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [CCIR] = 0x20DD, // COMBINING CIRCLE ⃝ [CENT] = 0x00A2, // ¢ [CHEK] = 0x2713, // ✓ diff --git a/users/rverst/unicode.h b/users/rverst/unicode.h index 45d1585809..4a92d32038 100644 --- a/users/rverst/unicode.h +++ b/users/rverst/unicode.h @@ -23,7 +23,7 @@ enum unicode_names { BANG, IRONY, SNEK }; -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x203D, [IRONY] = 0x2E2E, [SNEK] = 0x1F40D, diff --git a/users/spidey3/spidey3_unicode.c b/users/spidey3/spidey3_unicode.c index bda0876b54..011eaeb3fa 100644 --- a/users/spidey3/spidey3_unicode.c +++ b/users/spidey3/spidey3_unicode.c @@ -4,7 +4,7 @@ #include "spidey3_unicode.h" -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BUL1] = 0x2022, // • [BUL2] = 0x25E6, // ◦ [LARR] = 0x2190, // ← diff --git a/users/yet-another-developer/unicode.c b/users/yet-another-developer/unicode.c index 8b312deb66..f0168cef9f 100644 --- a/users/yet-another-developer/unicode.c +++ b/users/yet-another-developer/unicode.c @@ -1,7 +1,7 @@ #include "unicode.h" //#ifdef UNICODEMAP_ENABLE -const uint32_t PROGMEM unicode_map[] = { +const uint32_t unicode_map[] PROGMEM = { [BANG] = 0x0203D,// ‽ [IRONY] = 0x02E2E,// ⸮ [DEGREE] = 0x000B0,// ° -- cgit v1.2.3