aboutsummaryrefslogtreecommitdiff
path: root/hooks.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
commitb9dc855016cf79c8bb8469c272dbc6bca24deadc (patch)
treea2049bea7b17ededbd12b77110d47353ed832e46 /hooks.c
parent27126f87976c63161fcae2ab1eb9c6df726a84ff (diff)
parent5c49e1d0c1afaf98512b2ffd1f31d91fecff9851 (diff)
downloadrtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.tar.gz
rtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.tar.bz2
rtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.zip
Merge branch 'obsd-master'
Conflicts: format.c osdep-openbsd.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 *);