diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-08-15 08:41:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-08-15 08:41:14 +0000 |
commit | 0980307844bc1ea172529aae0c1d82decc0cf6ee (patch) | |
tree | d52e1d2e5b9939b2acb08f0ba8bdc9f5dd58560a /usr.bin/tmux/key-bindings.c | |
parent | f4ab265f13a9bcbcaff0269aa01278a970064eae (diff) |
Add some const, from Markus F X J Oberhumer.
Diffstat (limited to 'usr.bin/tmux/key-bindings.c')
-rw-r--r-- | usr.bin/tmux/key-bindings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index fc54e26a030..2e23549d238 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.144 2022/08/11 09:11:26 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.145 2022/08/15 08:41:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -344,7 +344,7 @@ key_bindings_init_done(__unused struct cmdq_item *item, __unused void *data) void key_bindings_init(void) { - static const char *defaults[] = { + static const char *const defaults[] = { /* Prefix keys. */ "bind -N 'Send the prefix key' C-b { send-prefix }", "bind -N 'Rotate through the panes' C-o { rotate-window }", |