Convert clients list into a TAILQ.

This commit is contained in:
nicm
2015-04-24 23:17:11 +00:00
parent 583b4ab72b
commit aeedb464a6
15 changed files with 118 additions and 223 deletions

4
tmux.h
View File

@ -1349,8 +1349,10 @@ struct client {
struct cmd_q *cmdq;
int references;
TAILQ_ENTRY(client) entry;
};
ARRAY_DECL(clients, struct client *);
TAILQ_HEAD(clients, client);
/* Parsed arguments structures. */
struct args_entry {