From c426e485e527a03aa3b4bdbb3203f621e006cbd5 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 10 Oct 2016 21:29:23 +0000 Subject: Loads more static, except for cmd-*.c and window-*.c. --- hooks.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hooks.c') 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 *); -- cgit