tree-wide: make constant ratelimit compound actually const
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Nov 2022 17:29:16 +0000 (18:29 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 22 Nov 2022 00:30:55 +0000 (01:30 +0100)
commit7d1e61cab6d27ed95372a313df3cd4538cf2880e
tree6a728c8fe92653b263a0092ecb1ec7dcb66207e6
parent47b3e96647e18e8ca219c4792ab769344eea11bb
tree-wide: make constant ratelimit compound actually const

The compiler should recognize that these are constant expressions, but
let's better make this explicit, so that the linker can safely share the
initializations all over the place.
src/basic/fs-util.c
src/core/manager.c
src/core/unit.c
src/import/import-fs.c
src/journal/journald-server.c
src/journal/journald-server.h
src/libsystemd/sd-journal/journal-file.c
src/resolve/resolved-dns-scope.c
src/test/test-ratelimit.c
src/timesync/timesyncd-manager.c