aboutsummaryrefslogtreecommitdiff
path: root/delta.h
diff options
context:
space:
mode:
authorMartin Langhoff <martin@catalyst.net.nz>2006-05-08 10:03:37 +1200
committerMartin Langhoff <martin@catalyst.net.nz>2006-05-08 10:03:37 +1200
commit50c08d48722149d95f46bcc80a5211ea04b8a809 (patch)
tree15c465be37ba4fdd8824edb95085b81076b73af9 /delta.h
parenta248c9614fdd130229fb5f9565abbd77bd1d0cc9 (diff)
parentbe65e7d9fbd3ae6fc097cedade2afe39805fcf4e (diff)
downloadgit-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/delta.h b/delta.h
index 9464f3e9b..09b2e1eed 100644
--- a/delta.h
+++ b/delta.h
@@ -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 */