From 149e27302334b6a83bfe293c15426d1a4abf958d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 15 Nov 2007 15:07:27 +0000 Subject: [PATCH] * Don't need gc.hh. --- src/libstore/gc.cc | 3 ++- src/libstore/gc.hh | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 src/libstore/gc.hh diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 53ee100f9..c0acbab38 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -4,7 +4,6 @@ #include "local-store.hh" #include "db.hh" #include "util.hh" -#include "gc.hh" #include @@ -27,6 +26,8 @@ static string gcLockName = "gc.lock"; static string tempRootsDir = "temproots"; static string gcRootsDir = "gcroots"; +const unsigned 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 diff --git a/src/libstore/gc.hh b/src/libstore/gc.hh deleted file mode 100644 index c86f7678b..000000000 --- a/src/libstore/gc.hh +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef __GC_H_INCLUDED -#define __GC_H_INCLUDED - -const unsigned int defaultGcLevel = 1000; - -#endif //__GC_H_INCLUDED