clang-format: use TypenameMacros

This commit removes line breaks and extra empty lines introduced in
commit fff3f79da9.
This commit is contained in:
Albert Safin
2020-02-28 03:09:02 +00:00
committed by Orestis Floros
parent 83078a1e16
commit e3a1c5b294
18 changed files with 57 additions and 129 deletions

View File

@ -66,8 +66,7 @@ struct Variable {
char *value;
char *next_match;
SLIST_ENTRY(Variable)
variables;
SLIST_ENTRY(Variable) variables;
};
/**
@ -81,8 +80,7 @@ struct Mode {
bool pango_markup;
struct bindings_head *bindings;
SLIST_ENTRY(Mode)
modes;
SLIST_ENTRY(Mode) modes;
};
/**
@ -272,8 +270,7 @@ struct Barconfig {
/* List of outputs on which the tray is allowed to be shown, in order.
* The special value "none" disables it (per default, it will be shown) and
* the special value "primary" enabled it on the primary output. */
TAILQ_HEAD(tray_outputs_head, tray_output_t)
tray_outputs;
TAILQ_HEAD(tray_outputs_head, tray_output_t) tray_outputs;
/* Padding around the tray icons. */
int tray_padding;
@ -295,8 +292,7 @@ struct Barconfig {
/** Bar modifier (to show bar when in hide mode). */
uint32_t modifier;
TAILQ_HEAD(bar_bindings_head, Barbinding)
bar_bindings;
TAILQ_HEAD(bar_bindings_head, Barbinding) bar_bindings;
/** Bar position (bottom by default). */
enum { P_BOTTOM = 0,
@ -370,8 +366,7 @@ struct Barconfig {
char *binding_mode_text;
} colors;
TAILQ_ENTRY(Barconfig)
configs;
TAILQ_ENTRY(Barconfig) configs;
};
/**
@ -389,15 +384,13 @@ struct Barbinding {
/** If true, the command will be executed after the button is released. */
bool release;
TAILQ_ENTRY(Barbinding)
bindings;
TAILQ_ENTRY(Barbinding) bindings;
};
struct tray_output_t {
char *output;
TAILQ_ENTRY(tray_output_t)
tray_outputs;
TAILQ_ENTRY(tray_output_t) tray_outputs;
};
typedef enum {