diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-22 03:09:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-22 03:09:44 +0200 |
commit | ef63833d532dd86bdba63211e6a1363cbb3ef61d (patch) | |
tree | 13025d5d7460d81ab451322f935b8fea341394b9 /src/shared | |
parent | 671e021c92c835c6c701dc61463149d05b6f31af (diff) |
journald: split /dev/kmsg related stuff into its own .c file
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/util.c | 6 | ||||
-rw-r--r-- | src/shared/util.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index 55e344f54d..1c7e4c6a25 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -4409,7 +4409,7 @@ bool plymouth_running(void) { return access("/run/plymouth/pid", F_OK) >= 0; } -void parse_syslog_priority(char **p, int *priority) { +void syslog_parse_priority(char **p, int *priority) { int a = 0, b = 0, c = 0; int k; @@ -4445,7 +4445,7 @@ void parse_syslog_priority(char **p, int *priority) { *p += k; } -void skip_syslog_pid(char **buf) { +void syslog_skip_pid(char **buf) { char *p; assert(buf); @@ -4467,7 +4467,7 @@ void skip_syslog_pid(char **buf) { *buf = p; } -void skip_syslog_date(char **buf) { +void syslog_skip_date(char **buf) { enum { LETTER, SPACE, diff --git a/src/shared/util.h b/src/shared/util.h index d5a48eb00f..2a151ae26d 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -419,9 +419,9 @@ bool nulstr_contains(const char*nulstr, const char *needle); bool plymouth_running(void); -void parse_syslog_priority(char **p, int *priority); -void skip_syslog_pid(char **buf); -void skip_syslog_date(char **buf); +void syslog_parse_priority(char **p, int *priority); +void syslog_skip_pid(char **buf); +void syslog_skip_date(char **buf); bool hostname_is_valid(const char *s); char* hostname_cleanup(char *s); |