about summary refs log tree commit diff
path: root/src/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-06-15T13·41+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-06-15T13·41+0000
commit21fe717ce2027187e553d1edec65ef68b5d3c702 (patch)
tree34ac1a94bb500f25793daba6f362c51240503ffe /src/util.hh
parentf66055fa1ef3eb208666b5ace7b5ab16bf7e8980 (diff)
* Refactoring: hash class.
Diffstat (limited to 'src/util.hh')
-rw-r--r--src/util.hh13
1 files changed, 0 insertions, 13 deletions
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 <unistd.h>
 
-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<string> 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);