summaryrefslogtreecommitdiff
path: root/diffcore.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-28 22:54:37 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-30 20:51:31 -0700
commitd8c3d03a0b7f10977dd508a5a965a417b7f1b065 (patch)
treece83d3f495e8a3acac26c8d7b5d5616cbe8c514b /diffcore.h
parent06f59e9f5daa06fc4bd51cf4c508b3edd3ed514a (diff)
downloadgit-d8c3d03a0b7f10977dd508a5a965a417b7f1b065.tar.gz
diffcore_count_changes: pass diffcore_filespec
We may want to use richer information on the data we are dealing with in this function, so instead of passing a buffer address and length, just pass the diffcore_filespec structure. Existing callers always call this function with parameters taken from a filespec anyway, so there is no functionality changes. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore.h')
-rw-r--r--diffcore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/diffcore.h b/diffcore.h
index 7b9294eab2..990dec50f1 100644
--- a/diffcore.h
+++ b/diffcore.h
@@ -103,8 +103,8 @@ void diff_debug_queue(const char *, struct diff_queue_struct *);
#define diff_debug_queue(a,b) do {} while(0)
#endif
-extern int diffcore_count_changes(void *src, unsigned long src_size,
- void *dst, unsigned long dst_size,
+extern int diffcore_count_changes(struct diff_filespec *src,
+ struct diff_filespec *dst,
void **src_count_p,
void **dst_count_p,
unsigned long delta_limit,