summaryrefslogtreecommitdiff
path: root/include/git2/odb_backend.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2013-08-19 11:42:50 -0500
committerEdward Thomson <ethomson@microsoft.com>2013-08-19 11:42:50 -0500
commit67c177ef26f25f4f7e5497393d075dde0f1b9415 (patch)
treef38c891f56624dee1196c04acc03e924f106c0d1 /include/git2/odb_backend.h
parent6d69fbce31c391c7a7739f8156b0d63f399c53bf (diff)
downloadlibgit2-67c177ef26f25f4f7e5497393d075dde0f1b9415.tar.gz
Don't expose git_hash_ctx since it's internal
And doing so makes the mingw build choke.
Diffstat (limited to 'include/git2/odb_backend.h')
-rw-r--r--include/git2/odb_backend.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/git2/odb_backend.h b/include/git2/odb_backend.h
index dca499583..7b3c6a356 100644
--- a/include/git2/odb_backend.h
+++ b/include/git2/odb_backend.h
@@ -65,8 +65,6 @@ typedef enum {
GIT_STREAM_RW = (GIT_STREAM_RDONLY | GIT_STREAM_WRONLY),
} git_odb_stream_t;
-typedef struct git_hash_ctx git_hash_ctx;
-
/**
* A stream to read/write from a backend.
*
@@ -78,7 +76,7 @@ typedef struct git_hash_ctx git_hash_ctx;
struct git_odb_stream {
git_odb_backend *backend;
unsigned int mode;
- git_hash_ctx *hash_ctx;
+ void *hash_ctx;
/**
* Write at most `len` bytes into `buffer` and advance the