summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/utils/Fingerprint.hs (renamed from compiler/utils/Fingerprint.hsc)3
-rw-r--r--compiler/utils/md5.h18
-rw-r--r--hadrian/src/Rules.hs1
3 files changed, 1 insertions, 21 deletions
diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hs
index 377a378bb9..0d4499079f 100644
--- a/compiler/utils/Fingerprint.hsc
+++ b/compiler/utils/Fingerprint.hs
@@ -21,8 +21,7 @@ module Fingerprint (
getFileHash
) where
-#include "md5.h"
-##include "HsVersions.h"
+#include "HsVersions.h"
import GhcPrelude
diff --git a/compiler/utils/md5.h b/compiler/utils/md5.h
deleted file mode 100644
index 0b31f9019c..0000000000
--- a/compiler/utils/md5.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* MD5 message digest */
-#pragma once
-
-#include "HsFFI.h"
-
-typedef HsWord32 word32;
-typedef HsWord8 byte;
-
-struct MD5Context {
- word32 buf[4];
- word32 bytes[2];
- word32 in[16];
-};
-
-void MD5Init(struct MD5Context *context);
-void MD5Update(struct MD5Context *context, byte const *buf, int len);
-void MD5Final(byte digest[16], struct MD5Context *context);
-void MD5Transform(word32 buf[4], word32 const in[16]);
diff --git a/hadrian/src/Rules.hs b/hadrian/src/Rules.hs
index 5bb9d4cdc4..5b2682390a 100644
--- a/hadrian/src/Rules.hs
+++ b/hadrian/src/Rules.hs
@@ -51,7 +51,6 @@ toolArgsTarget = do
root <- buildRoot
let dir = buildDir (vanillaContext Stage0 compiler)
need [ root -/- dir -/- "Config.hs" ]
- need [ root -/- dir -/- "Fingerprint.hs" ]
need [ root -/- dir -/- "Parser.hs" ]
need [ root -/- dir -/- "Lexer.hs" ]
need [ root -/- dir -/- "CmmParse.hs" ]