diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-02-10 12:32:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-10 12:34:11 +0100 |
commit | 2a560338c471f47ca0caf6f1ec8c54a61e005d7f (patch) | |
tree | 6deb549540102f56daf1ea7c9d2fcf58322d2cd9 /src/journal | |
parent | 5b99bc57f27c0beb37e3d56edbaf70eb1a276531 (diff) |
journald: don't specify inline in local functions
Leave it to the compiler to figure out whether it shall inline stuff or
not.
Only place where using static inline is OK to use is in in header
files, really.
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journal-file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index ec12e891a7..2845e05ce0 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -1963,11 +1963,12 @@ static int test_object_monotonic(JournalFile *f, uint64_t p, uint64_t needle) { return TEST_RIGHT; } -static inline int find_data_object_by_boot_id( +static int find_data_object_by_boot_id( JournalFile *f, sd_id128_t boot_id, Object **o, uint64_t *b) { + char t[sizeof("_BOOT_ID=")-1 + 32 + 1] = "_BOOT_ID="; sd_id128_to_string(boot_id, t + 9); |