diff options
author | Drew DeVault <[email protected]> | 2015-08-24 21:40:38 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-08-24 21:40:38 -0400 |
commit | 2e755cf13fb653a397a8895121184322dc1dcdd6 (patch) | |
tree | 0c193e7e81b497510e7e4927df5e105749ae8b24 /include/log.h | |
parent | dbad30a409b83d2e327e5eb2a53b46f12e462258 (diff) | |
parent | 7c5b6f8c5285c1ddb8604875a48c7798367cf8ad (diff) |
Merge pull request #125 from Luminarys/master
Added in backtrace printing
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |