diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-06-22 16:59:16 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-06-22 16:59:39 +0900 |
commit | 8ff61daa672f051d8ecb537edc94036b6cdaaf3f (patch) | |
tree | 455cc4eb438541a1ff3e7bb50c7abc458f189269 /lzotest | |
parent | 79a9578a33ecd3093970bd18df677edc9214fafb (diff) | |
download | lzo-8ff61daa672f051d8ecb537edc94036b6cdaaf3f.tar.gz lzo-8ff61daa672f051d8ecb537edc94036b6cdaaf3f.tar.bz2 lzo-8ff61daa672f051d8ecb537edc94036b6cdaaf3f.zip |
Imported Upstream version 2.09
Change-Id: Iff3c94491fe695b43f1d6998f93f56af871806a2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'lzotest')
-rw-r--r-- | lzotest/asm.h | 4 | ||||
-rw-r--r-- | lzotest/db.h | 6 | ||||
-rw-r--r-- | lzotest/lzotest.c | 52 | ||||
-rw-r--r-- | lzotest/wrap.h | 7 | ||||
-rw-r--r-- | lzotest/wrapmisc.h | 2 |
5 files changed, 18 insertions, 53 deletions
diff --git a/lzotest/asm.h b/lzotest/asm.h index f0f99ca..72b8289 100644 --- a/lzotest/asm.h +++ b/lzotest/asm.h @@ -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 @@ -31,7 +31,7 @@ **************************************************************************/ #if defined(LZO_USE_ASM) -# include "lzo/lzo_asm.h" +# include <lzo/lzo_asm.h> #else # define lzo1c_decompress_asm 0 # define lzo1c_decompress_asm_safe 0 diff --git a/lzotest/db.h b/lzotest/db.h index 6cade01..36fc481 100644 --- a/lzotest/db.h +++ b/lzotest/db.h @@ -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 @@ -473,9 +473,5 @@ zlib_crc32_x_compress, 0, 0, 0, 0, 0, 0, 0 }, #endif -#if defined(__LZO_PROFESSIONAL__) -# include "lzopro/t_db.ch" -#endif - /* vim:set ts=4 sw=4 et: */ diff --git a/lzotest/lzotest.c b/lzotest/lzotest.c index 02d5787..e4bae0f 100644 --- a/lzotest/lzotest.c +++ b/lzotest/lzotest.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 @@ -26,7 +26,7 @@ */ -#include "lzo/lzoconf.h" +#include <lzo/lzoconf.h> /************************************************************************* @@ -90,43 +90,34 @@ /* LZO algorithms */ #if defined(HAVE_LZO1_H) -# include "lzo/lzo1.h" +# include <lzo/lzo1.h> #endif #if defined(HAVE_LZO1A_H) -# include "lzo/lzo1a.h" +# include <lzo/lzo1a.h> #endif #if defined(HAVE_LZO1B_H) -# include "lzo/lzo1b.h" +# include <lzo/lzo1b.h> #endif #if defined(HAVE_LZO1C_H) -# include "lzo/lzo1c.h" +# include <lzo/lzo1c.h> #endif #if defined(HAVE_LZO1F_H) -# include "lzo/lzo1f.h" +# include <lzo/lzo1f.h> #endif #if defined(HAVE_LZO1X_H) -# include "lzo/lzo1x.h" -# if defined(__LZO_PROFESSIONAL__) -# include "lzo/lzopro/lzo1x.h" -# endif +# include <lzo/lzo1x.h> #endif #if defined(HAVE_LZO1Y_H) -# include "lzo/lzo1y.h" -# if defined(__LZO_PROFESSIONAL__) -# include "lzo/lzopro/lzo1y.h" -# endif +# include <lzo/lzo1y.h> #endif #if defined(HAVE_LZO1Z_H) -# include "lzo/lzo1z.h" +# include <lzo/lzo1z.h> #endif #if defined(HAVE_LZO2A_H) -# include "lzo/lzo2a.h" +# include <lzo/lzo2a.h> #endif #if defined(HAVE_LZO2B_H) -# include "lzo/lzo2b.h" -#endif -#if defined(__LZO_PROFESSIONAL__) -# include "lzopro/t_config.ch" +# include <lzo/lzo2b.h> #endif /* other compressors */ #if defined(HAVE_ZLIB_H) @@ -207,10 +198,6 @@ enum { M_Z_CRC32 = 6012, #endif -#if defined(__LZO_PROFESSIONAL__) -# include "lzopro/m_enum.ch" -#endif - M_UNUSED }; @@ -1495,9 +1482,6 @@ void license(void) fp = stdout; fflush(stdout); fflush(stderr); -#if defined(__LZO_PROFESSIONAL__) -# include "lzopro/license.ch" -#else fprintf(fp, " The LZO library is free software; you can redistribute it and/or\n" " modify it under the terms of the GNU General Public License as\n" @@ -1521,7 +1505,6 @@ fprintf(fp, " http://www.oberhumer.com/opensource/lzo/\n" "\n" ); -#endif fflush(fp); exit(EXIT_OK); @@ -1646,9 +1629,6 @@ static void parse_methods(const char *p) else if (m_strcmp(p,"bzip2") == 0) add_all_methods(M_BZIP2_1,M_BZIP2_9); #endif -#if defined(__LZO_PROFESSIONAL__) -# include "lzopro/t_opt_m.ch" -#endif else if (m_strisdigit(p)) add_method(atoi(p)); else @@ -1922,15 +1902,9 @@ int __lzo_cdecl_main main(int argc, char *argv[]) if ((*s == '/' || *s == '\\') && s[1]) progname = s + 1; -#if defined(__LZO_PROFESSIONAL__) - printf("\nLZO Professional real-time data compression library (v%s, %s).\n", - lzo_version_string(), lzo_version_date()); - printf("Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer\nAll Rights Reserved.\n\n"); -#else printf("\nLZO real-time data compression library (v%s, %s).\n", lzo_version_string(), lzo_version_date()); - printf("Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer\nAll Rights Reserved.\n\n"); -#endif + printf("Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer\nAll Rights Reserved.\n\n"); /* diff --git a/lzotest/wrap.h b/lzotest/wrap.h index 772dbe0..d2a9c13 100644 --- a/lzotest/wrap.h +++ b/lzotest/wrap.h @@ -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 @@ -258,9 +258,4 @@ crc32_x_compress ( const lzo_bytep src, lzo_uint src_len, } -#if defined(__LZO_PROFESSIONAL__) -# include "lzopro/t_wrap.ch" -#endif - - /* vim:set ts=4 sw=4 et: */ diff --git a/lzotest/wrapmisc.h b/lzotest/wrapmisc.h index 8fb65b6..12c4809 100644 --- a/lzotest/wrapmisc.h +++ b/lzotest/wrapmisc.h @@ -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 |