From cab6235f748e365198a7939f23c87ab3b8f59b2e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 11 May 2015 22:53:54 +0200 Subject: 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. --- src/test/test-unit-file.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/test-unit-file.c') 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; -- cgit v1.2.3-54-g00ecf