From: Lennart Poettering Date: Thu, 24 Mar 2022 10:20:12 +0000 (+0100) Subject: journal-remote: constify a few parameters X-Git-Tag: v251-rc1~31^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a35420d85d42bc1c0c7b315ab161ff0e5026c46d;p=thirdparty%2Fsystemd.git journal-remote: constify a few parameters --- diff --git a/src/journal-remote/journal-remote-write.c b/src/journal-remote/journal-remote-write.c index 5e47616504a..6477bfac2d7 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 ccbea29fbd2..0e375f3489e 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);