summaryrefslogtreecommitdiff
path: root/src/diff_patch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff_patch.c')
-rw-r--r--src/diff_patch.c5
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;