journal-remote: constify a few parameters

This commit is contained in:
Lennart Poettering
2022-03-25 09:21:38 +01:00
parent 88a19c7e04
commit a35420d85d
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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;
+3 -3
View File
@@ -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);