aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
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 082c9068..a20b96c5 100644
--- a/tmux.h
+++ b/tmux.h
@@ -703,7 +703,7 @@ struct hook {
/* Option data structures. */
struct options_entry {
- char *name;
+ const char *name;
enum {
OPTIONS_STRING,
@@ -1514,7 +1514,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 *);