diff options
author | nicm <nicm> | 2016-10-10 21:29:23 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-10 21:29:23 +0000 |
commit | c426e485e527a03aa3b4bdbb3203f621e006cbd5 (patch) | |
tree | 2f0add91706d06d7cf4d748294805c8d4d4d8d39 /hooks.c | |
parent | 66b5477cc1909e57489f854939a524ce2cd0f479 (diff) | |
download | rtmux-c426e485e527a03aa3b4bdbb3203f621e006cbd5.tar.gz rtmux-c426e485e527a03aa3b4bdbb3203f621e006cbd5.tar.bz2 rtmux-c426e485e527a03aa3b4bdbb3203f621e006cbd5.zip |
Loads more static, except for cmd-*.c and window-*.c.
Diffstat (limited to 'hooks.c')
-rw-r--r-- | hooks.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -29,8 +29,7 @@ struct hooks { }; static int hooks_cmp(struct hook *, struct hook *); -RB_PROTOTYPE(hooks_tree, hook, entry, hooks_cmp); -RB_GENERATE(hooks_tree, hook, entry, hooks_cmp); +RB_GENERATE_STATIC(hooks_tree, hook, entry, hooks_cmp); static struct hook *hooks_find1(struct hooks *, const char *); static void hooks_free1(struct hooks *, struct hook *); |