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

@ -77,12 +77,10 @@ struct status_block {
char *name;
char *instance;
TAILQ_ENTRY(status_block)
blocks;
TAILQ_ENTRY(status_block) blocks;
};
extern TAILQ_HEAD(statusline_head, status_block)
statusline_head;
extern TAILQ_HEAD(statusline_head, status_block) statusline_head;
#include "child.h"
#include "ipc.h"

View File

@ -29,23 +29,18 @@ typedef struct binding_t {
char *command;
bool release;
TAILQ_ENTRY(binding_t)
bindings;
TAILQ_ENTRY(binding_t) bindings;
} binding_t;
typedef struct tray_output_t {
char *output;
TAILQ_ENTRY(tray_output_t)
tray_outputs;
TAILQ_ENTRY(tray_output_t) tray_outputs;
} tray_output_t;
typedef struct config_t {
uint32_t modifier;
TAILQ_HEAD(bindings_head, binding_t)
bindings;
TAILQ_HEAD(bindings_head, binding_t) bindings;
position_t position;
bool verbose;
bool transparency;
@ -59,10 +54,7 @@ typedef struct config_t {
char *command;
char *fontname;
i3String *separator_symbol;
TAILQ_HEAD(tray_outputs_head, tray_output_t)
tray_outputs;
TAILQ_HEAD(tray_outputs_head, tray_output_t) tray_outputs;
int tray_padding;
int num_outputs;
char **outputs;

View File

@ -73,6 +73,5 @@ struct i3_output {
struct ws_head* workspaces; /* The workspaces on this output */
struct tc_head* trayclients; /* The tray clients on this output */
SLIST_ENTRY(i3_output)
slist; /* Pointer for the SLIST-Macro */
SLIST_ENTRY(i3_output) slist; /* Pointer for the SLIST-Macro */
};

View File

@ -21,6 +21,5 @@ struct trayclient {
char *class_class;
char *class_instance;
TAILQ_ENTRY(trayclient)
tailq; /* Pointer for the TAILQ-Macro */
TAILQ_ENTRY(trayclient) tailq; /* Pointer for the TAILQ-Macro */
};

View File

@ -41,6 +41,5 @@ struct i3_ws {
rect rect; /* The rect of the ws (not used (yet)) */
struct i3_output *output; /* The current output of the ws */
TAILQ_ENTRY(i3_ws)
tailq; /* Pointer for the TAILQ-Macro */
TAILQ_ENTRY(i3_ws) tailq; /* Pointer for the TAILQ-Macro */
};