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.c | |
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.c')
-rw-r--r-- | tests-clar/diff/diff_helpers.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests-clar/diff/diff_helpers.c b/tests-clar/diff/diff_helpers.c index 992c87d4c..96a921350 100644 --- a/tests-clar/diff/diff_helpers.c +++ b/tests-clar/diff/diff_helpers.c @@ -21,7 +21,7 @@ git_tree *resolve_commit_oid_to_tree( return tree; } -int diff_file_fn( +int diff_file_cb( void *cb_data, const git_diff_delta *delta, float progress) @@ -42,7 +42,7 @@ int diff_file_fn( return 0; } -int diff_hunk_fn( +int diff_hunk_cb( void *cb_data, const git_diff_delta *delta, const git_diff_range *range, @@ -61,7 +61,7 @@ int diff_hunk_fn( return 0; } -int diff_line_fn( +int diff_line_cb( void *cb_data, const git_diff_delta *delta, const git_diff_range *range, @@ -104,9 +104,9 @@ int diff_line_fn( 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) { size_t d, num_d = git_diff_num_deltas(diff); |