summaryrefslogtreecommitdiff
path: root/gitdb/_delta_apply.c
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-11-14 12:45:19 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-11-14 12:45:19 +0100
commit2f2fe4eea8ba4f47e63a7392a1f27f74f5ee925d (patch)
tree176a493d114fab7cc6e930bf318b2339db386cf5 /gitdb/_delta_apply.c
parent81707c606b88e971cc359e3e9f3abeeea2204860 (diff)
parent0dcec5a27b341ce58e5ab169f91aa25b2cafec0c (diff)
downloadgitdb-0.6.0.tar.gz
Merge branch 'py2n3'0.6.0
* python 3 compatibility * all tests work in py2.6, 2.7, 3.3, 3.4
Diffstat (limited to 'gitdb/_delta_apply.c')
-rw-r--r--gitdb/_delta_apply.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gitdb/_delta_apply.c b/gitdb/_delta_apply.c
index f03e7ea..8b0f8e0 100644
--- a/gitdb/_delta_apply.c
+++ b/gitdb/_delta_apply.c
@@ -506,7 +506,6 @@ DeltaInfo* DIV_closest_chunk(const DeltaInfoVector* vec, ull ofs)
// Return the amount of chunks a slice at the given spot would have, as well as
// its size in bytes it would have if the possibly partial chunks would be encoded
// and added to the spot marked by sdc
-inline
uint DIV_count_slice_bytes(const DeltaInfoVector* src, uint ofs, uint size)
{
uint num_bytes = 0;
@@ -559,7 +558,6 @@ uint DIV_count_slice_bytes(const DeltaInfoVector* src, uint ofs, uint size)
// destination memory. The individual chunks written will be a byte copy of the source
// data chunk stream
// Return: number of chunks in the slice
-inline
uint DIV_copy_slice_to(const DeltaInfoVector* src, uchar** dest, ull tofs, uint size)
{
assert(DIV_lbound(src) <= tofs);