summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-11 22:53:54 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-11 22:53:54 +0200
commitcab6235f748e365198a7939f23c87ab3b8f59b2e (patch)
treefd4cb3d86febefc6b1fd69af0298a77ec598195b /src/test
parentb2c23da8cea1987a1a329f5a964d3299b7ca7890 (diff)
install: when exporting prefix InstallInfo to become UnitFileInstallInfo
All other types exported from install.h should be namespaces like this, hence namespace InstallInfo the same way. Also, remove external forward definition of UnitFileScope type.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-unit-file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test-unit-file.c b/src/test/test-unit-file.c
index 5a9796df58..f3f6c29f75 100644
--- a/src/test/test-unit-file.c
+++ b/src/test/test-unit-file.c
@@ -453,12 +453,12 @@ static void test_install_printf(void) {
char name[] = "name.service",
path[] = "/run/systemd/system/name.service",
user[] = "xxxx-no-such-user";
- InstallInfo i = {name, path, user};
- InstallInfo i2 = {name, path, NULL};
+ UnitFileInstallInfo i = {name, path, user};
+ UnitFileInstallInfo i2 = {name, path, NULL};
char name3[] = "name@inst.service",
path3[] = "/run/systemd/system/name.service";
- InstallInfo i3 = {name3, path3, user};
- InstallInfo i4 = {name3, path3, NULL};
+ UnitFileInstallInfo i3 = {name3, path3, user};
+ UnitFileInstallInfo i4 = {name3, path3, NULL};
_cleanup_free_ char *mid, *bid, *host;