From 962554c616e30991553c8497ed1e7c2a415fa84d Mon Sep 17 00:00:00 2001 From: Timo Hirvonen Date: Sun, 26 Feb 2006 17:13:46 +0200 Subject: Use setenv(), fix warnings - Fix -Wundef -Wold-style-definition warnings - Make pll_free() static [jc: original patch by Timo had another unrelated bits: - Use setenv() instead of putenv() I'm postponing that part for now.] Signed-off-by: Timo Hirvonen Signed-off-by: Junio C Hamano --- pack-redundant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pack-redundant.c') diff --git a/pack-redundant.c b/pack-redundant.c index 1869b38b72..cd81f5a66e 100644 --- a/pack-redundant.c +++ b/pack-redundant.c @@ -45,7 +45,7 @@ static inline void llist_item_put(struct llist_item *item) free_nodes = item; } -static inline struct llist_item *llist_item_get() +static inline struct llist_item *llist_item_get(void) { struct llist_item *new; if ( free_nodes ) { @@ -275,7 +275,7 @@ static void cmp_two_packs(struct pack_list *p1, struct pack_list *p2) } } -void pll_free(struct pll *l) +static void pll_free(struct pll *l) { struct pll *old; struct pack_list *opl; -- cgit v1.2.1