Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-18 02:42:24 +0400
committerVicent Martí <tanoku@gmail.com>2012-05-18 03:26:23 +0400
commit2e2e97858de18abd43f7e59fcc6151510c6d3272 (patch)
tree1a6d69f8bb3de8ce3aab66602cf15f8f44c72287 /src/refs.c
parent4fbd1c007e6c72b32c0dd2a29036a5670f85120a (diff)
Properly tag all `enums` with a `_t`
Diffstat (limited to 'src/refs.c')
-rw-r--r--src/refs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/refs.c b/src/refs.c
index 9ba09249c..1ef3e13a4 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -194,10 +194,10 @@ corrupt:
return -1;
}
-static git_rtype loose_guess_rtype(const git_buf *full_path)
+static git_ref_t loose_guess_rtype(const git_buf *full_path)
{
git_buf ref_file = GIT_BUF_INIT;
- git_rtype type;
+ git_ref_t type;
type = GIT_REF_INVALID;
@@ -1153,7 +1153,7 @@ int git_reference_lookup_resolved(
/**
* Getters
*/
-git_rtype git_reference_type(git_reference *ref)
+git_ref_t git_reference_type(git_reference *ref)
{
assert(ref);