diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-02-17 15:23:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-18 22:36:34 +0100 |
commit | ed5033fd6c5e73a1ee874608338cbfd28b9083b4 (patch) | |
tree | 2269d651893a01d4f88988d1a153b6196af30996 /src/shared | |
parent | 60dcf3dc1b5b4c63e2c35ad7eba1d6f7ab5e086c (diff) | |
download | systemd-ed5033fd6c5e73a1ee874608338cbfd28b9083b4.tar.gz |
util: move percent/permille/permyriad parser into percent-util.[ch]
A good chunk of parse-util.[ch] has been about parsing parts per
hundred/thousand/ten-thousand. Let's split that out into its own file.
No code changes, just some shuffling around.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/bus-unit-util.c | 1 | ||||
-rw-r--r-- | src/shared/conf-parser.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index a1a253e801..a6e5e74132 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -28,6 +28,7 @@ #include "numa-util.h" #include "parse-util.h" #include "path-util.h" +#include "percent-util.h" #include "process-util.h" #include "rlimit-util.h" #if HAVE_SECCOMP diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index c3d7e536ec..df6472d4be 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -22,6 +22,7 @@ #include "nulstr-util.h" #include "parse-util.h" #include "path-util.h" +#include "percent-util.h" #include "process-util.h" #include "rlimit-util.h" #include "sd-id128.h" |