summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2010-11-12 02:19:26 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2010-11-12 02:19:26 +0000
commitd26de3993a0ff4927f9c1f380097f8b2ca9a511d (patch)
tree28b99059b686e10e6ac6841e62b3034cfc80998f /xdelta3
parent1882c39affc3b224871790bfe06ac71f293e5f2b (diff)
Build fix, Makefile hack
Diffstat (limited to 'xdelta3')
-rw-r--r--xdelta3/Makefile1
-rw-r--r--xdelta3/xdelta3-blkcache.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/xdelta3/Makefile b/xdelta3/Makefile
index 88648e2..75f1e3c 100644
--- a/xdelta3/Makefile
+++ b/xdelta3/Makefile
@@ -230,6 +230,7 @@ xdelta3module.so: xdelta3_wrap.o xdelta3.o
230 gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup \ 230 gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup \
231 -arch x86_64 $(CFLAGS) \ 231 -arch x86_64 $(CFLAGS) \
232 xdelta3.o xdelta3_wrap.o -o xdelta3module.so 232 xdelta3.o xdelta3_wrap.o -o xdelta3module.so
233 cp xdelta3module.so /Library/Python/2.6/site-packages
233endif 234endif
234 235
235xdelta3-decoder: $(SOURCES) 236xdelta3-decoder: $(SOURCES)
diff --git a/xdelta3/xdelta3-blkcache.h b/xdelta3/xdelta3-blkcache.h
index cf5fb7f..6afa012 100644
--- a/xdelta3/xdelta3-blkcache.h
+++ b/xdelta3/xdelta3-blkcache.h
@@ -53,7 +53,7 @@ static int lru_hits = 0;
53static int lru_misses = 0; 53static int lru_misses = 0;
54static int lru_filled = 0; 54static int lru_filled = 0;
55 55
56static void main_lru_reset() 56static void main_lru_reset (void)
57{ 57{
58 lru_size = 0; 58 lru_size = 0;
59 lru = NULL; 59 lru = NULL;
@@ -63,7 +63,7 @@ static void main_lru_reset()
63 lru_filled = 0; 63 lru_filled = 0;
64} 64}
65 65
66static void main_lru_cleanup() 66static void main_lru_cleanup (void)
67{ 67{
68 if (lru != NULL) 68 if (lru != NULL)
69 { 69 {