aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-08-19 18:29:01 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-08-19 18:29:01 +0000
commite3be9b1951856f84d30c2903eccdf792618f71ba (patch)
tree0677a0ea970e8aae8cbafe36e4721069351dd0c4 /tmux.h
parentc2822ca119d9270f9193eaa574d9b157772b77ed (diff)
downloadrtmux-e3be9b1951856f84d30c2903eccdf792618f71ba.tar.gz
rtmux-e3be9b1951856f84d30c2903eccdf792618f71ba.tar.bz2
rtmux-e3be9b1951856f84d30c2903eccdf792618f71ba.zip
Do not call event_del() for signals after fork(), just use sigaction()
directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless.
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 af731ff7..a68bd0ea 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1952,8 +1952,8 @@ void queue_window_name(struct window *);
char *default_window_name(struct window *);
/* signal.c */
-void set_signals(void(*handler)(int, short, unused void *));
-void clear_signals(void);
+void set_signals(void(*)(int, short, void *));
+void clear_signals(int);
/* session.c */
extern struct sessions sessions;