summaryrefslogtreecommitdiffstats
path: root/hooks.c
diff options
context:
space:
mode:
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 *);