diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-11 16:01:16 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-11 16:01:16 +0000 |
commit | 2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e (patch) | |
tree | ea211ec5577102c81891adfabc5f135f865d8f1e /tmux.h | |
parent | 4909a7017494f7483cfd2180913ad78f87bc9d62 (diff) | |
parent | bd5918760ecd1f40a574ccc8a302af869f68c27f (diff) | |
download | rtmux-2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e.tar.gz rtmux-2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e.tar.bz2 rtmux-2a3456cd3b234a2f5d0b6724fe41bb62b8deab4e.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 *); |