From 17ce971a9c93d6c42e50040f590c2db696ea4500 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 15 Dec 2025 09:08:00 +0100 Subject: [PATCH] sd-journal: Remove const from function parameter boot_id is already passed by value, and hence copied. Since we don't apply const to function parameters that are copied anywhere else, let's drop the const here as well for consistency. --- src/systemd/sd-journal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemd/sd-journal.h b/src/systemd/sd-journal.h index e21a7184e3..5c5d883b44 100644 --- a/src/systemd/sd-journal.h +++ b/src/systemd/sd-journal.h @@ -124,7 +124,7 @@ int sd_journal_get_cursor(sd_journal *j, char **ret_cursor); int sd_journal_test_cursor(sd_journal *j, const char *cursor); int sd_journal_get_cutoff_realtime_usec(sd_journal *j, uint64_t *from, uint64_t *to); -int sd_journal_get_cutoff_monotonic_usec(sd_journal *j, const sd_id128_t boot_id, uint64_t *from, uint64_t *to); +int sd_journal_get_cutoff_monotonic_usec(sd_journal *j, sd_id128_t boot_id, uint64_t *from, uint64_t *to); int sd_journal_get_usage(sd_journal *j, uint64_t *ret_bytes);