summaryrefslogtreecommitdiff
path: root/src/shared/bus-unit-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-12-13 22:11:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-14 08:22:54 +0100
commit9a6f746fb6e21dc4fe79ed93dde8b79371a13d34 (patch)
tree3893a2ce756b0326fd463a7d7244d2ad82a4f6fb /src/shared/bus-unit-util.c
parentfd0ec39d3848029abd3a439e84c5728331de2128 (diff)
downloadsystemd-9a6f746fb6e21dc4fe79ed93dde8b79371a13d34.tar.gz
locale-util: prefix special glyph enum values with SPECIAL_GLYPH_
This has been irritating me for quite a while: let's prefix these enum values with a common prefix, like we do for almost all other enums. No change in behaviour, just some renaming.
Diffstat (limited to 'src/shared/bus-unit-util.c')
-rw-r--r--src/shared/bus-unit-util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c
index e324a2ffc7..dce8646f37 100644
--- a/src/shared/bus-unit-util.c
+++ b/src/shared/bus-unit-util.c
@@ -2305,7 +2305,7 @@ static int dump_processes(
}
more = i+1 < n || cg->children;
- special = special_glyph(more ? TREE_BRANCH : TREE_RIGHT);
+ special = special_glyph(more ? SPECIAL_GLYPH_TREE_BRANCH : SPECIAL_GLYPH_TREE_RIGHT);
fprintf(stdout, "%s%s%*"PID_PRI" %s\n",
prefix,
@@ -2342,14 +2342,14 @@ static int dump_processes(
name++;
more = i+1 < n;
- special = special_glyph(more ? TREE_BRANCH : TREE_RIGHT);
+ special = special_glyph(more ? SPECIAL_GLYPH_TREE_BRANCH : SPECIAL_GLYPH_TREE_RIGHT);
fputs(prefix, stdout);
fputs(special, stdout);
fputs(name, stdout);
fputc('\n', stdout);
- special = special_glyph(more ? TREE_VERTICAL : TREE_SPACE);
+ special = special_glyph(more ? SPECIAL_GLYPH_TREE_VERTICAL : SPECIAL_GLYPH_TREE_SPACE);
pp = strappend(prefix, special);
if (!pp)
@@ -2433,7 +2433,7 @@ static int dump_extra_processes(
fprintf(stdout, "%s%s %*" PID_PRI " %s\n",
prefix,
- special_glyph(TRIANGULAR_BULLET),
+ special_glyph(SPECIAL_GLYPH_TRIANGULAR_BULLET),
width, pids[k],
name);
}