diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-04-14 20:04:39 -0700 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-04-15 05:35:30 +0200 |
commit | 5114e3e44235ea39447eea37213c65413cdb1a2c (patch) | |
tree | 6988b9253e11316bf848997c19447600df2323b7 /src/or/main.h | |
parent | 4cbbb92e7fc7c9c4d374b35211c216a5419e3da2 (diff) | |
download | tor-5114e3e44235ea39447eea37213c65413cdb1a2c.tar.gz tor-5114e3e44235ea39447eea37213c65413cdb1a2c.zip |
Make SIGNAL DUMP work on FreeBSD
While doing so, get rid of the now unnecessary function
control_signal_act().
Fixes bug 2917, reported by Robert Ransom. Bugfix on commit
9b4aa8d2abbce71398e58188209a1b1d04885b96. This patch is loosely based on
a patch by Robert (Changelog entry).
Diffstat (limited to 'src/or/main.h')
-rw-r--r-- | src/or/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.h b/src/or/main.h index ed0fb97703..626bf1c43b 100644 --- a/src/or/main.h +++ b/src/or/main.h @@ -46,8 +46,8 @@ void directory_info_has_arrived(time_t now, int from_cache); void ip_address_changed(int at_interface); void dns_servers_relaunch_checks(void); -void control_signal_act(int the_signal); void handle_signals(int is_parent); +void signal_callback(int fd, short events, void *arg); int try_locking(or_options_t *options, int err_if_locked); int have_lockfile(void); |