From 7c5b6f8c5285c1ddb8604875a48c7798367cf8ad Mon Sep 17 00:00:00 2001 From: Luminarys Date: Mon, 24 Aug 2015 15:44:58 -0500 Subject: Added in backtrace printing --- include/log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/log.h') diff --git a/include/log.h b/include/log.h index 3d77769c..945ad239 100644 --- a/include/log.h +++ b/include/log.h @@ -16,6 +16,7 @@ void sway_log(log_importance_t verbosity, const char* format, ...) __attribute__ void sway_log_errno(log_importance_t verbosity, char* format, ...) __attribute__((format(printf,2,3))); void sway_abort(const char* format, ...) __attribute__((format(printf,1,2))); bool sway_assert(bool condition, const char* format, ...) __attribute__((format(printf,2,3))); +void error_handler(int sig); void layout_log(const swayc_t *c, int depth); #endif -- cgit v1.2.3-54-g00ecf