summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-05-03 16:06:33 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-05-03 16:06:33 +0000
commit72a6f023642c24ed068b6564472df9d7ccec30cf (patch)
tree3dd1b2f8b660cfe7c21ab37745c45e4aceb91e44 /usr.bin/tmux/tmux.h
parentb216f11b658d51a71040b8ed7718b8f019686022 (diff)
Make signal handler setup/teardown two common functions instead of six,
and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 8877b8848a8..f65e6629974 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.216 2010/04/06 21:35:44 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.217 2010/05/03 16:06:32 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1253,6 +1253,7 @@ extern struct options global_options;
extern struct options global_s_options;
extern struct options global_w_options;
extern struct environ global_environ;
+extern struct event_base *ev_base;
extern char *cfg_file;
extern int debug_level;
extern int be_quiet;
@@ -1583,8 +1584,6 @@ const char *key_string_lookup_key(int);
extern struct clients clients;
extern struct clients dead_clients;
int server_start(char *);
-void server_signal_set(void);
-void server_signal_clear(void);
void server_update_socket(void);
/* server-client.c */
@@ -1900,6 +1899,10 @@ void window_choose_ready(struct window_pane *,
void queue_window_name(struct window *);
char *default_window_name(struct window *);
+/* signal.c */
+void set_signals(void(*)(int, short, void *));
+void clear_signals(void);
+
/* session.c */
extern struct sessions sessions;
extern struct sessions dead_sessions;