From 21fe717ce2027187e553d1edec65ef68b5d3c702 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 15 Jun 2003 13:41:32 +0000 Subject: * Refactoring: hash class. --- src/util.hh | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/util.hh') diff --git a/src/util.hh b/src/util.hh index 2c09efc4d88f..d1a195609503 100644 --- a/src/util.hh +++ b/src/util.hh @@ -7,10 +7,6 @@ #include -extern "C" { -#include "md5.h" -} - using namespace std; @@ -29,12 +25,6 @@ public: UsageError(string _err) : Error(_err) { }; }; -class BadRefError : public Error -{ -public: - BadRefError(string _err) : Error(_err) { }; -}; - typedef vector Strings; @@ -50,9 +40,6 @@ extern string nixHomeDirEnvVar; string absPath(string filename, string dir = ""); -bool isHash(const string & s); -void checkHash(const string & s); -string hashFile(string filename); string dirOf(string s); string baseNameOf(string s); -- cgit 1.4.1