diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-23 18:52:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-24 23:04:42 +0200 |
commit | 4f5dd3943bef8a04be7e3b838b822bb9a7ad6cb3 (patch) | |
tree | deda3509752ff079dded29c145e4a8fae41812f1 /src/journal/journald-kmsg.c | |
parent | dea7b6b043f0cd9e34ee719b9b612c3a4776387e (diff) |
util: split out escaping code into escape.[ch]
This really deserves its own file, given how much code this is now.
Diffstat (limited to 'src/journal/journald-kmsg.c')
-rw-r--r-- | src/journal/journald-kmsg.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/journal/journald-kmsg.c b/src/journal/journald-kmsg.c index 51fe3aa50a..9ed368b586 100644 --- a/src/journal/journald-kmsg.c +++ b/src/journal/journald-kmsg.c @@ -19,20 +19,21 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <unistd.h> -#include <sys/epoll.h> #include <fcntl.h> +#include <sys/epoll.h> #include <sys/mman.h> #include <sys/socket.h> +#include <unistd.h> -#include "systemd/sd-messages.h" -#include <libudev.h> +#include "libudev.h" +#include "sd-messages.h" +#include "escape.h" +#include "formats-util.h" #include "journald-server.h" -#include "journald-kmsg.h" #include "journald-syslog.h" -#include "formats-util.h" #include "process-util.h" +#include "journald-kmsg.h" void server_forward_kmsg( Server *s, |