summaryrefslogtreecommitdiff
path: root/src/common/torlog.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-20 13:02:05 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-20 15:08:06 -0400
commit5ecd1fec1583b8aa865ac5cae0cece42451395bd (patch)
treef9645884a611826dc811fe159c17fd873b98768b /src/common/torlog.h
parent8865972a0b18a2fdcf42b55149989d0705c85577 (diff)
downloadtor-5ecd1fec1583b8aa865ac5cae0cece42451395bd.tar.gz
tor-5ecd1fec1583b8aa865ac5cae0cece42451395bd.zip
Move horrible-emergency handling into torerr.[ch]
Previously we had code like this for bad things happening from signal handlers, but it makes sense to use the same logic to handle cases when something is happening at a level too low for log.c to be involved. My raw_assert*() stuff now uses this code.
Diffstat (limited to 'src/common/torlog.h')
-rw-r--r--src/common/torlog.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/torlog.h b/src/common/torlog.h
index 65921c7b0a..56f922d406 100644
--- a/src/common/torlog.h
+++ b/src/common/torlog.h
@@ -175,8 +175,6 @@ void truncate_logs(void);
void tor_log(int severity, log_domain_mask_t domain, const char *format, ...)
CHECK_PRINTF(3,4);
-void tor_log_err_sigsafe(const char *m, ...);
-int tor_log_get_sigsafe_err_fds(const int **out);
void tor_log_update_sigsafe_err_fds(void);
struct smartlist_t;
@@ -272,4 +270,3 @@ MOCK_DECL(STATIC void, logv, (int severity, log_domain_mask_t domain,
# define TOR_TORLOG_H
#endif /* !defined(TOR_TORLOG_H) */
-