From 4daf54a851e4fb7ed1a13c3117bba12528fd2c7f Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 9 Feb 2014 20:08:55 -0500 Subject: journald: log provenience of signals --- src/shared/log.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shared/log.h') diff --git a/src/shared/log.h b/src/shared/log.h index 3dcfa11308..6a0f6735c5 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -21,9 +21,10 @@ along with systemd; If not, see . ***/ -#include #include #include +#include +#include #include #include "macro.h" @@ -167,3 +168,5 @@ const char *log_target_to_string(LogTarget target) _const_; LogTarget log_target_from_string(const char *s) _pure_; #define MESSAGE_ID(x) "MESSAGE_ID=" SD_ID128_FORMAT_STR, SD_ID128_FORMAT_VAL(x) + +void log_received_signal(int level, const struct signalfd_siginfo *si); -- cgit v1.2.3-54-g00ecf