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/diff_patch.c | |
parent | 3a495c19bd280f5455047a9ac0e936f2c2f2f9a9 (diff) | |
download | libgit2-062804570c3e25170b52f849da173f8266b5e33e.tar.gz |
Join typedef and struct definitions in single file.
Diffstat (limited to 'src/diff_patch.c')
-rw-r--r-- | src/diff_patch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/diff_patch.c b/src/diff_patch.c index 38d5f4257..8e90efceb 100644 --- a/src/diff_patch.c +++ b/src/diff_patch.c @@ -14,12 +14,11 @@ #include "fileops.h" /* cached information about a hunk in a diff */ -typedef struct diff_patch_hunk diff_patch_hunk; -struct diff_patch_hunk { +typedef struct diff_patch_hunk { git_diff_hunk hunk; size_t line_start; size_t line_count; -}; +} diff_patch_hunk; struct git_patch { git_refcount rc; |