diff options
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/shared.cc | 2 | ||||
-rw-r--r-- | src/libmain/shared.hh | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index a67d2c47085c..76d510efebfc 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -58,7 +58,7 @@ static void setLogType(string lt) } -static unsigned int getIntArg(const string & opt, +unsigned int getIntArg(const string & opt, Strings::iterator & i, const Strings::iterator & end) { ++i; diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh index 62f505189f83..c38eeaf48131 100644 --- a/src/libmain/shared.hh +++ b/src/libmain/shared.hh @@ -26,6 +26,9 @@ namespace nix { Path makeRootName(const Path & gcRoot, int & counter); void printGCWarning(); +unsigned int getIntArg(const string & opt, + Strings::iterator & i, const Strings::iterator & end); + /* Whether we're running setuid. */ extern bool setuidMode; |