summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/options.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-10-10 21:29:23 +0000
committernicm <nicm@openbsd.org>2016-10-10 21:29:23 +0000
commit9883b791a07beb4d0cb6aad5076fe1790df94392 (patch)
treef57a4fead4e6082c2f973c34b5b8a3d46ef3191e /usr.bin/tmux/options.c
parentThe TLS error message depends on the generated fake certificate. (diff)
downloadwireguard-openbsd-9883b791a07beb4d0cb6aad5076fe1790df94392.tar.xz
wireguard-openbsd-9883b791a07beb4d0cb6aad5076fe1790df94392.zip
Loads more static, except for cmd-*.c and window-*.c.
Diffstat (limited to 'usr.bin/tmux/options.c')
-rw-r--r--usr.bin/tmux/options.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/options.c b/usr.bin/tmux/options.c
index 2e7185c5f75..ff3cfc8f9ef 100644
--- a/usr.bin/tmux/options.c
+++ b/usr.bin/tmux/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.19 2016/09/26 09:02:34 nicm Exp $ */
+/* $OpenBSD: options.c,v 1.20 2016/10/10 21:29:23 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -35,8 +35,7 @@ struct options {
};
static int options_cmp(struct options_entry *, struct options_entry *);
-RB_PROTOTYPE(options_tree, options_entry, entry, options_cmp);
-RB_GENERATE(options_tree, options_entry, entry, options_cmp);
+RB_GENERATE_STATIC(options_tree, options_entry, entry, options_cmp);
static void options_free1(struct options *, struct options_entry *);