Avoid clang-format in pcf tables
This commit is contained in:
parent
8370c33194
commit
73aa7887ae
13
src/pcf.c
13
src/pcf.c
@ -9,6 +9,8 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
const char *pcf_def_header =
|
||||
"DEFAULT_OPTIONS\n"
|
||||
"\n"
|
||||
@ -61,7 +63,8 @@ const uint32_t pcf_def_palette[] = {
|
||||
GREEN,
|
||||
YELLOW, ORANGE, PURPLE, CYAN, MAGENTA, LIME, PINK,
|
||||
TEAL, GREY, LAVENDER, BROWN, BEIGE, MAROON, MINT,
|
||||
OLIVE, APRICOT, NAVY, DEEPBLUE};
|
||||
OLIVE, APRICOT, NAVY, DEEPBLUE
|
||||
};
|
||||
|
||||
const uint32_t *pcf_palette = pcf_def_palette;
|
||||
const int pcf_palette_len = ARRAY_LEN(pcf_def_palette);
|
||||
@ -259,11 +262,7 @@ char *pcf_chan_name[CHAN_MAX] = {
|
||||
[CHAN_KERNEL_CS] = "Context switches",
|
||||
};
|
||||
|
||||
enum pcf_suffix { NONE = 0,
|
||||
CUR_TH,
|
||||
RUN_TH,
|
||||
ACT_TH,
|
||||
SUFFIX_MAX };
|
||||
enum pcf_suffix { NONE = 0, CUR_TH, RUN_TH, ACT_TH, SUFFIX_MAX };
|
||||
|
||||
char *pcf_suffix_name[SUFFIX_MAX] = {
|
||||
[NONE] = "",
|
||||
@ -301,6 +300,8 @@ int pcf_chan_suffix[CHAN_MAX][CHAN_MAXTYPE] = {
|
||||
[CHAN_KERNEL_CS] = { RUN_TH, ACT_TH },
|
||||
};
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
/* ----------------------------------------------- */
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user