diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-18 11:53:24 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-24 11:00:51 +0200 |
commit | 062804570c3e25170b52f849da173f8266b5e33e (patch) | |
tree | 549b2179523a84912e45cbf9490733474dc49b5c /src/fetchhead.h | |
parent | 3a495c19bd280f5455047a9ac0e936f2c2f2f9a9 (diff) | |
download | libgit2-062804570c3e25170b52f849da173f8266b5e33e.tar.gz |
Join typedef and struct definitions in single file.
Diffstat (limited to 'src/fetchhead.h')
-rw-r--r-- | src/fetchhead.h | 6 |
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, |