aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-11 16:01:16 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-11 16:01:16 +0000
commit2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e (patch)
treeea211ec5577102c81891adfabc5f135f865d8f1e /tmux.h
parent4909a7017494f7483cfd2180913ad78f87bc9d62 (diff)
parentbd5918760ecd1f40a574ccc8a302af869f68c27f (diff)
downloadrtmux-2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e.tar.gz
rtmux-2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e.tar.bz2
rtmux-2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index e58b7ece..82a04068 100644
--- a/tmux.h
+++ b/tmux.h
@@ -705,7 +705,7 @@ struct hook {
/* Option data structures. */
struct options_entry {
- char *name;
+ const char *name;
enum {
OPTIONS_STRING,
@@ -1516,7 +1516,7 @@ struct hook *hooks_first(struct hooks *);
struct hook *hooks_next(struct hook *);
void hooks_add(struct hooks *, const char *, struct cmd_list *);
void hooks_copy(struct hooks *, struct hooks *);
-void hooks_remove(struct hooks *, struct hook *);
+void hooks_remove(struct hooks *, const char *);
struct hook *hooks_find(struct hooks *, const char *);
void hooks_run(struct hooks *, const char *, struct client *);