From 56040be3468e655256362c7d5b230b15236b9dd2 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 29 Aug 2010 14:42:11 +0000 Subject: Sync OpenBSD patchset 751: 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. --- tmux.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 6e8028b6..32dc897e 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.573 2010-08-11 22:16:03 tcunha Exp $ */ +/* $Id: tmux.h,v 1.574 2010-08-29 14:42:11 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1951,8 +1951,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; -- cgit