summaryrefslogtreecommitdiffstats
path: root/src/network/tc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-02-17 15:23:15 +0100
committerLennart Poettering <lennart@poettering.net>2021-02-18 22:36:34 +0100
commited5033fd6c5e73a1ee874608338cbfd28b9083b4 (patch)
tree2269d651893a01d4f88988d1a153b6196af30996 /src/network/tc
parentmain: let's use physical_memory_scale() where appropriate (diff)
downloadsystemd-ed5033fd6c5e73a1ee874608338cbfd28b9083b4.tar.xz
systemd-ed5033fd6c5e73a1ee874608338cbfd28b9083b4.zip
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/network/tc')
-rw-r--r--src/network/tc/tc-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/tc/tc-util.c b/src/network/tc/tc-util.c
index 1890e96164..3781182946 100644
--- a/src/network/tc/tc-util.c
+++ b/src/network/tc/tc-util.c
@@ -5,6 +5,7 @@
#include "extract-word.h"
#include "fileio.h"
#include "parse-util.h"
+#include "percent-util.h"
#include "tc-util.h"
#include "time-util.h"