summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-24 11:20:12 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-25 09:21:38 +0100
commita35420d85d42bc1c0c7b315ab161ff0e5026c46d (patch)
tree1d1a1f6da52c8b01ec67b79b43f9e3af5a9d7a29 /src/journal-remote
parent88a19c7e041f1767ebbb9f96f3025cca757c1456 (diff)
downloadsystemd-a35420d85d42bc1c0c7b315ab161ff0e5026c46d.tar.gz
journal-remote: constify a few parameters
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-remote-write.c6
-rw-r--r--src/journal-remote/journal-remote-write.h6
2 files changed, 6 insertions, 6 deletions
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);