summaryrefslogtreecommitdiff
path: root/src/shared/install.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-22 19:19:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-03-25 14:04:34 +0100
commitb82f71c7ff3f21fd07037c085c824ae78cf7442e (patch)
treebc206bcc68e8dde2529aeefb69e73de14e138eb4 /src/shared/install.c
parentebfb1b572498f44f513c613cfc5a5eedd7f0cc3e (diff)
downloadsystemd-b82f71c7ff3f21fd07037c085c824ae78cf7442e.tar.gz
tree-wide: constify a few static string tables
Diffstat (limited to 'src/shared/install.c')
-rw-r--r--src/shared/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index 9a9d4bfa21..75b6aace0a 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -117,7 +117,7 @@ bool unit_type_may_template(UnitType type) {
UNIT_PATH);
}
-static const char *unit_file_type_table[_UNIT_FILE_TYPE_MAX] = {
+static const char *const unit_file_type_table[_UNIT_FILE_TYPE_MAX] = {
[UNIT_FILE_TYPE_REGULAR] = "regular",
[UNIT_FILE_TYPE_SYMLINK] = "symlink",
[UNIT_FILE_TYPE_MASKED] = "masked",