diff options
author | Russell Belfer <rb@github.com> | 2013-06-13 01:18:09 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-06-13 01:18:09 +0400 |
commit | 360f42f4b3f5de31270416220bd799b951202b2d (patch) | |
tree | 75ce2285f6346e178e1a239f0412eb4597774883 /src/diff_file.h | |
parent | ef3374a8a81786a7b544ed7eded53c95766eb02f (diff) |
Fix diff header naming issues
This makes the git_diff_patch definition private to diff_patch.c
and fixes a number of other header file naming inconsistencies to
use `git_` prefixes on functions and structures that are shared
between files.
Diffstat (limited to 'src/diff_file.h')
-rw-r--r-- | src/diff_file.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/diff_file.h b/src/diff_file.h index ab7b1dc1f..afad8510b 100644 --- a/src/diff_file.h +++ b/src/diff_file.h @@ -24,19 +24,19 @@ typedef struct { git_map map; } git_diff_file_content; -extern int diff_file_content_init_from_diff( +extern int git_diff_file_content__init_from_diff( git_diff_file_content *fc, git_diff_list *diff, size_t delta_index, bool use_old); -extern int diff_file_content_init_from_blob( +extern int git_diff_file_content__init_from_blob( git_diff_file_content *fc, git_repository *repo, const git_diff_options *opts, const git_blob *blob); -extern int diff_file_content_init_from_raw( +extern int git_diff_file_content__init_from_raw( git_diff_file_content *fc, git_repository *repo, const git_diff_options *opts, @@ -44,12 +44,12 @@ extern int diff_file_content_init_from_raw( size_t buflen); /* this loads the blob/file-on-disk as needed */ -extern int diff_file_content_load(git_diff_file_content *fc); +extern int git_diff_file_content__load(git_diff_file_content *fc); /* this releases the blob/file-in-memory */ -extern void diff_file_content_unload(git_diff_file_content *fc); +extern void git_diff_file_content__unload(git_diff_file_content *fc); /* this unloads and also releases any other resources */ -extern void diff_file_content_clear(git_diff_file_content *fc); +extern void git_diff_file_content__clear(git_diff_file_content *fc); #endif |