diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-10 18:06:36 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-10 18:06:36 +0200 |
| commit | bab92a8dcf66d93afb41c946c238841df74fff0e (patch) | |
| tree | c31f39d53be3c901d7a2e7be4d72375753c2ddce /src/diff_patch.c | |
| parent | 942a7b39edad519748456ddce97cf77a93c9babc (diff) | |
| parent | 062804570c3e25170b52f849da173f8266b5e33e (diff) | |
| download | libgit2-bab92a8dcf66d93afb41c946c238841df74fff0e.tar.gz | |
Merge pull request #2575 from cirosantilli/factor-struct-typedef
[factor] 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 4e0672aa1..317dbeabb 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; |
