diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 5 | ||||
-rw-r--r-- | src/libstore/gc.cc | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 4329d9a22b95..1b379752fa0e 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -75,12 +75,9 @@ using std::map; static string pathNullDevice = "/dev/null"; -static const uid_t rootUserId = 0; - - /* Forward definition. */ class Worker; -class HookInstance; +struct HookInstance; /* A pointer to a goal. */ diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index d212259f3b66..79bd7d56b3fe 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -22,8 +22,6 @@ static string gcLockName = "gc.lock"; static string tempRootsDir = "temproots"; static string gcRootsDir = "gcroots"; -static const int defaultGcLevel = 1000; - /* Acquire the global GC lock. This is used to prevent new Nix processes from starting after the temporary root files have been |