From a35420d85d42bc1c0c7b315ab161ff0e5026c46d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 24 Mar 2022 11:20:12 +0100 Subject: journal-remote: constify a few parameters --- src/journal-remote/journal-remote-write.c | 6 +++--- src/journal-remote/journal-remote-write.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/journal-remote') diff --git a/src/journal-remote/journal-remote-write.c b/src/journal-remote/journal-remote-write.c index 5e47616504..6477bfac2d 100644 --- a/src/journal-remote/journal-remote-write.c +++ b/src/journal-remote/journal-remote-write.c @@ -57,9 +57,9 @@ static Writer* writer_free(Writer *w) { DEFINE_TRIVIAL_REF_UNREF_FUNC(Writer, writer, writer_free); int writer_write(Writer *w, - struct iovec_wrapper *iovw, - dual_timestamp *ts, - sd_id128_t *boot_id, + const struct iovec_wrapper *iovw, + const dual_timestamp *ts, + const sd_id128_t *boot_id, bool compress, bool seal) { int r; diff --git a/src/journal-remote/journal-remote-write.h b/src/journal-remote/journal-remote-write.h index ccbea29fbd..0e375f3489 100644 --- a/src/journal-remote/journal-remote-write.h +++ b/src/journal-remote/journal-remote-write.h @@ -26,9 +26,9 @@ Writer* writer_unref(Writer *w); DEFINE_TRIVIAL_CLEANUP_FUNC(Writer*, writer_unref); int writer_write(Writer *s, - struct iovec_wrapper *iovw, - dual_timestamp *ts, - sd_id128_t *boot_id, + const struct iovec_wrapper *iovw, + const dual_timestamp *ts, + const sd_id128_t *boot_id, bool compress, bool seal); -- cgit v1.2.1