From 98399ed51045871f8d73599322b6947d6b2b80d0 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 10 Aug 2015 13:51:40 +0200 Subject: Update lzo to 2.09 --- main/lzo/src/lzo1b_xx.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'main/lzo/src/lzo1b_xx.c') diff --git a/main/lzo/src/lzo1b_xx.c b/main/lzo/src/lzo1b_xx.c index 21eec0aa..56f30066 100644 --- a/main/lzo/src/lzo1b_xx.c +++ b/main/lzo/src/lzo1b_xx.c @@ -2,7 +2,7 @@ This file is part of the LZO real-time data compression library. - Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The LZO library is free software; you can redistribute it and/or @@ -47,7 +47,7 @@ static const lzo_compress_t * const c_funcs [9] = }; -lzo_compress_t _lzo1b_get_compress_func(int clevel) +static lzo_compress_t lzo1b_get_compress_func(int clevel) { const lzo_compress_t *f; @@ -56,7 +56,7 @@ lzo_compress_t _lzo1b_get_compress_func(int clevel) if (clevel == LZO1B_DEFAULT_COMPRESSION) clevel = LZO1B_BEST_SPEED; else - return 0; + return (lzo_compress_t) 0; } f = c_funcs[clevel-1]; assert(f && *f); @@ -72,15 +72,11 @@ lzo1b_compress ( const lzo_bytep src, lzo_uint src_len, { lzo_compress_t f; - f = _lzo1b_get_compress_func(clevel); + f = lzo1b_get_compress_func(clevel); if (!f) return LZO_E_ERROR; return _lzo1b_do_compress(src,src_len,dst,dst_len,wrkmem,f); } - -/* -vi:ts=4:et -*/ - +/* vim:set ts=4 sw=4 et: */ -- cgit v1.2.3