]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
Drop RATELIMIT macros
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 Sep 2019 15:41:20 +0000 (17:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Sep 2019 14:05:53 +0000 (16:05 +0200)
commit8c227e7f2b0c4df0b4ab7345d6a01c589e0c21d3
tree7d04b8570cc84b2de5dc6b7b32e429585ec3fdc4
parent90b059b608d6c53c8efb23b8791190dffadd1a17
Drop RATELIMIT macros

Using plain structure initialization is both shorter _and_ more clearer.
We get type safety for free.
src/basic/ratelimit.h
src/core/manager.c
src/core/unit.c
src/import/export-raw.c
src/import/export-tar.c
src/import/import-fs.c
src/import/import-raw.c
src/import/import-tar.c
src/resolve/resolved-dns-scope.c
src/test/test-ratelimit.c
src/timesync/timesyncd-manager.c