=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/hooks.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/tmux/Attic/hooks.c 2015/12/16 21:50:37 1.4 +++ src/usr.bin/tmux/Attic/hooks.c 2016/10/10 21:29:23 1.5 @@ -1,4 +1,4 @@ -/* $OpenBSD: hooks.c,v 1.4 2015/12/16 21:50:37 nicm Exp $ */ +/* $OpenBSD: hooks.c,v 1.5 2016/10/10 21:29:23 nicm Exp $ */ /* * Copyright (c) 2012 Thomas Adam @@ -29,8 +29,7 @@ }; 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 *);