diff options
author | Daniel Mack <zonque@gmail.com> | 2014-08-18 22:07:47 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-09-08 11:06:45 +0200 |
commit | 5369c77d2ee864ac0464d4adc0774ee70ba9c4bc (patch) | |
tree | 0206b657a3fbf3db03e3750155d4a120f31c68c7 /src/core/busname.c | |
parent | de68938a2cb3ab535ebd9198723a651753c1a1df (diff) |
bus: factor out bus policy items
In order to re-use the policy definitions, factor them out into their own
files.
Diffstat (limited to 'src/core/busname.c')
-rw-r--r-- | src/core/busname.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/busname.c b/src/core/busname.c index 39ea6a0d93..22d2a6d24b 100644 --- a/src/core/busname.c +++ b/src/core/busname.c @@ -911,14 +911,6 @@ static const char* const busname_result_table[_BUSNAME_RESULT_MAX] = { DEFINE_STRING_TABLE_LOOKUP(busname_result, BusNameResult); -static const char* const busname_policy_access_table[_BUSNAME_POLICY_ACCESS_MAX] = { - [BUSNAME_POLICY_ACCESS_SEE] = "see", - [BUSNAME_POLICY_ACCESS_TALK] = "talk", - [BUSNAME_POLICY_ACCESS_OWN] = "own", -}; - -DEFINE_STRING_TABLE_LOOKUP(busname_policy_access, BusNamePolicyAccess); - const UnitVTable busname_vtable = { .object_size = sizeof(BusName), |