diff options
author | Martin Langhoff <martin@catalyst.net.nz> | 2006-05-08 10:03:37 +1200 |
---|---|---|
committer | Martin Langhoff <martin@catalyst.net.nz> | 2006-05-08 10:03:37 +1200 |
commit | 50c08d48722149d95f46bcc80a5211ea04b8a809 (patch) | |
tree | 15c465be37ba4fdd8824edb95085b81076b73af9 /delta.h | |
parent | a248c9614fdd130229fb5f9565abbd77bd1d0cc9 (diff) | |
parent | be65e7d9fbd3ae6fc097cedade2afe39805fcf4e (diff) | |
download | git-50c08d48722149d95f46bcc80a5211ea04b8a809.tar.gz git-50c08d48722149d95f46bcc80a5211ea04b8a809.tar.xz |
Merge with git://kernel.org/pub/scm/git/git.git
Diffstat (limited to 'delta.h')
-rw-r--r-- | delta.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,11 +2,11 @@ #define DELTA_H /* handling of delta buffers */ -extern void *diff_delta(void *from_buf, unsigned long from_size, - void *to_buf, unsigned long to_size, +extern void *diff_delta(const void *from_buf, unsigned long from_size, + const void *to_buf, unsigned long to_size, unsigned long *delta_size, unsigned long max_size); extern void *patch_delta(void *src_buf, unsigned long src_size, - void *delta_buf, unsigned long delta_size, + const void *delta_buf, unsigned long delta_size, unsigned long *dst_size); /* the smallest possible delta size is 4 bytes */ |