tree-wide: constify a few static string tables
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
ebfb1b5724
commit
b82f71c7ff
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user