From: Daan De Meyer Date: Mon, 15 Dec 2025 08:08:00 +0000 (+0100) Subject: sd-journal: Remove const from function parameter X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17ce971a9c93d6c42e50040f590c2db696ea4500;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/systemd/sd-journal.h b/src/systemd/sd-journal.h index e21a7184e3d..5c5d883b44f 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);