mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
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.
This commit is contained in:
parent
5b99bc57f2
commit
2a560338c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user