From a8ffe6fbcbfdba39aef8dce8b298b3e0cb377c0e Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 14 Mar 2015 21:46:59 -0400 Subject: sysv-generator: initialize LookupPaths just once With debugging on, sysv-generator would print the full set of lookup paths for *every* sysv script. While at it, pass LookupPaths as a pointer in sysv-generator, and constify it everywhere. --- src/shared/path-lookup.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shared/path-lookup.h') diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index 2ec888da81..f1925eef69 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -22,7 +22,8 @@ ***/ #include "macro.h" -#include "install.h" + +typedef enum UnitFileScope UnitFileScope; typedef struct LookupPaths { char **unit_path; -- cgit v1.2.3-54-g00ecf