aboutsummaryrefslogtreecommitdiff
path: root/hooks.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-10 21:29:23 +0000
committernicm <nicm>2016-10-10 21:29:23 +0000
commitc426e485e527a03aa3b4bdbb3203f621e006cbd5 (patch)
tree2f0add91706d06d7cf4d748294805c8d4d4d8d39 /hooks.c
parent66b5477cc1909e57489f854939a524ce2cd0f479 (diff)
downloadrtmux-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hooks.c b/hooks.c
index c1a016ae..62ea05d1 100644
--- a/hooks.c
+++ b/hooks.c
@@ -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 *);