diff options
author | nicm <nicm> | 2015-08-29 23:19:52 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-08-29 23:19:52 +0000 |
commit | 52bbac506c54cd378fb4493d218027dc36a7fce5 (patch) | |
tree | 8cf6eb4d12c33badd6354795ed4ab1b8f3ebae0b | |
parent | 373ef850e0a00dfb8180054625a91d046849261e (diff) | |
download | rtmux-52bbac506c54cd378fb4493d218027dc36a7fce5.tar.gz rtmux-52bbac506c54cd378fb4493d218027dc36a7fce5.tar.bz2 rtmux-52bbac506c54cd378fb4493d218027dc36a7fce5.zip |
struct args_entry can go into arguments.c.
-rw-r--r-- | arguments.c | 6 | ||||
-rw-r--r-- | tmux.h | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/arguments.c b/arguments.c index 05ff97eb..54753de3 100644 --- a/arguments.c +++ b/arguments.c @@ -29,6 +29,12 @@ * Manipulate command arguments. */ +struct args_entry { + u_char flag; + char *value; + RB_ENTRY(args_entry) entry; +}; + struct args_entry *args_find(struct args *, u_char); RB_GENERATE(args_tree, args_entry, entry, args_cmp); @@ -1257,13 +1257,8 @@ struct client { TAILQ_HEAD(clients, client); /* Parsed arguments structures. */ -struct args_entry { - u_char flag; - char *value; - RB_ENTRY(args_entry) entry; -}; +struct args_entry; RB_HEAD(args_tree, args_entry); - struct args { struct args_tree tree; int argc; |