diff options
author | Vicent Marti <tanoku@gmail.com> | 2012-11-17 19:54:47 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-27 13:18:27 -0800 |
commit | cfbe4be3fb639d96587974794fe437ace0c383c4 (patch) | |
tree | 1dcc1a4462075a7832d4cb853634af00fb78e7b1 /tests-clar/diff/diff_helpers.h | |
parent | 2508cc66eb91597b12dc19721d9cea1f06e72107 (diff) | |
download | libgit2-cfbe4be3fb639d96587974794fe437ace0c383c4.tar.gz |
More external API cleanup
Conflicts:
src/branch.c
tests-clar/refs/branches/create.c
Diffstat (limited to 'tests-clar/diff/diff_helpers.h')
-rw-r--r-- | tests-clar/diff/diff_helpers.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests-clar/diff/diff_helpers.h b/tests-clar/diff/diff_helpers.h index 6ff493d49..b5c36d64e 100644 --- a/tests-clar/diff/diff_helpers.h +++ b/tests-clar/diff/diff_helpers.h @@ -20,19 +20,19 @@ typedef struct { int line_dels; } diff_expects; -extern int diff_file_fn( +extern int diff_file_cb( void *cb_data, const git_diff_delta *delta, float progress); -extern int diff_hunk_fn( +extern int diff_hunk_cb( void *cb_data, const git_diff_delta *delta, const git_diff_range *range, const char *header, size_t header_len); -extern int diff_line_fn( +extern int diff_line_cb( void *cb_data, const git_diff_delta *delta, const git_diff_range *range, @@ -43,8 +43,8 @@ extern int diff_line_fn( extern int diff_foreach_via_iterator( git_diff_list *diff, void *data, - git_diff_file_fn file_cb, - git_diff_hunk_fn hunk_cb, - git_diff_data_fn line_cb); + git_diff_file_cb file_cb, + git_diff_hunk_cb hunk_cb, + git_diff_data_cb line_cb); extern void diff_print(FILE *fp, git_diff_list *diff); |