summaryrefslogtreecommitdiff
path: root/src/hash/hash_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/hash_win32.h')
-rw-r--r--src/hash/hash_win32.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/hash/hash_win32.h b/src/hash/hash_win32.h
index 6cddcaa72..ca448c241 100644
--- a/src/hash/hash_win32.h
+++ b/src/hash/hash_win32.h
@@ -138,19 +138,6 @@ struct git_hash_ctx {
} ctx;
};
-GIT_INLINE(int) git_hash_global_init(void)
-{
- int error = 0;
-
- if (hash_prov.type != INVALID)
- return 0;
-
- if ((error = hash_cng_prov_init()) < 0)
- error = hash_cryptoapi_prov_init();
-
- git__on_shutdown(git_hash_global_shutdown);
-
- return error;
-}
+extern int git_hash_global_init(void);
#endif