From: Lennart Poettering Date: Wed, 27 Nov 2019 11:13:36 +0000 (+0100) Subject: journal: make constant argument actually 'const' X-Git-Tag: v245-rc1~41^2~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31e99dd2cc37556a7145ecee2ca008a29d8ce060;p=thirdparty%2Fsystemd.git journal: make constant argument actually 'const' --- diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 622fe042097..bced8af3e3a 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -2561,7 +2561,7 @@ static void process_q_overflow(sd_journal *j) { log_debug("Reiteration complete."); } -static void process_inotify_event(sd_journal *j, struct inotify_event *e) { +static void process_inotify_event(sd_journal *j, const struct inotify_event *e) { Directory *d; assert(j);