diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-26 13:22:56 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-11-18 10:43:15 -0500 |
commit | d631ddfb59eca910d1faf45a711da630bab7c89a (patch) | |
tree | 285b653c83db9ccb093cc8a2b0cf9d83545bbdab /src/common/backtrace.h | |
parent | 2662885aa9cb6c9b7447b729d0321a633e8c46c3 (diff) | |
download | tor-d631ddfb59eca910d1faf45a711da630bab7c89a.tar.gz tor-d631ddfb59eca910d1faf45a711da630bab7c89a.zip |
Make backtrace handler handle signals correctly.
This meant moving a fair bit of code around, and writing a signal
cleanup function. Still pretty nice from what I can tell, though.
Diffstat (limited to 'src/common/backtrace.h')
-rw-r--r-- | src/common/backtrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/backtrace.h b/src/common/backtrace.h index 7d7c10a800..765436fee3 100644 --- a/src/common/backtrace.h +++ b/src/common/backtrace.h @@ -4,7 +4,7 @@ #ifndef TOR_BACKTRACE_H #define TOR_BACKTRACE_H -void dump_backtrace(const char *msg); +void log_backtrace(int severity, int domain, const char *msg); int configure_backtrace_handler(const char *tor_version); void clean_up_backtrace_handler(void); |