From d26de3993a0ff4927f9c1f380097f8b2ca9a511d Mon Sep 17 00:00:00 2001 From: "josh.macdonald" Date: Fri, 12 Nov 2010 02:19:26 +0000 Subject: Build fix, Makefile hack --- xdelta3/Makefile | 1 + xdelta3/xdelta3-blkcache.h | 4 ++-- 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 gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup \ -arch x86_64 $(CFLAGS) \ xdelta3.o xdelta3_wrap.o -o xdelta3module.so + cp xdelta3module.so /Library/Python/2.6/site-packages endif xdelta3-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; static int lru_misses = 0; static int lru_filled = 0; -static void main_lru_reset() +static void main_lru_reset (void) { lru_size = 0; lru = NULL; @@ -63,7 +63,7 @@ static void main_lru_reset() lru_filled = 0; } -static void main_lru_cleanup() +static void main_lru_cleanup (void) { if (lru != NULL) { -- cgit v1.2.3