summaryrefslogtreecommitdiff
path: root/src/fetchhead.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetchhead.h')
-rw-r--r--src/fetchhead.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fetchhead.h b/src/fetchhead.h
index 74fce049b..b03bd0f74 100644
--- a/src/fetchhead.h
+++ b/src/fetchhead.h
@@ -9,14 +9,12 @@
#include "vector.h"
-struct git_fetchhead_ref {
+typedef struct git_fetchhead_ref {
git_oid oid;
unsigned int is_merge;
char *ref_name;
char *remote_url;
-};
-
-typedef struct git_fetchhead_ref git_fetchhead_ref;
+} git_fetchhead_ref;
int git_fetchhead_ref_create(
git_fetchhead_ref **fetchhead_ref_out,