From 062804570c3e25170b52f849da173f8266b5e33e Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 18 Sep 2014 11:53:24 +0200 Subject: Join typedef and struct definitions in single file. --- src/diff_patch.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/diff_patch.c') 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; -- cgit v1.2.1