diff options
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r-- | include/git2/oid.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index 96f8649f..8a0f134b 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -48,10 +48,11 @@ GIT_BEGIN_DECL #define GIT_OID_MINPREFIXLEN 4 /** Unique identity of any object (commit, tree, blob, tag). */ -typedef struct { +typedef struct _git_oid git_oid; +struct _git_oid { /** raw binary formatted id */ unsigned char id[GIT_OID_RAWSZ]; -} git_oid; +}; /** * Parse a hex formatted object id into a git_oid. |