From: Eric Biggers Date: Thu, 3 Jul 2014 23:25:13 +0000 (-0500) Subject: Place common decompression/compression code in public domain X-Git-Tag: v1.7.1~73 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=f90b1375dd7d3b64fe823ae693083f82019a02f9;ds=sidebyside Place common decompression/compression code in public domain Not much except Huffman coding in these files anymore, and that should be completely free especially since it's been over 60 years since it was invented... --- diff --git a/include/wimlib/compress_common.h b/include/wimlib/compress_common.h index f1f788e2..d2b6310e 100644 --- a/include/wimlib/compress_common.h +++ b/include/wimlib/compress_common.h @@ -2,6 +2,9 @@ * compress_common.h * * Header for compression code shared by multiple compression formats. + * + * The author dedicates this file to the public domain. + * You can do whatever you want with this file. */ #ifndef _WIMLIB_COMPRESS_COMMON_H @@ -71,4 +74,4 @@ make_canonical_huffman_code(unsigned num_syms, u8 lens[restrict], u32 codewords[restrict]); -#endif /* _WIMLIB_COMPRESS_H */ +#endif /* _WIMLIB_COMPRESS_COMMON_H */ diff --git a/include/wimlib/decompress_common.h b/include/wimlib/decompress_common.h index ef7ebe95..d6c90899 100644 --- a/include/wimlib/decompress_common.h +++ b/include/wimlib/decompress_common.h @@ -2,6 +2,9 @@ * decompress_common.h * * Header for decompression code shared by multiple compression formats. + * + * The author dedicates this file to the public domain. + * You can do whatever you want with this file. */ #ifndef _WIMLIB_DECOMPRESS_COMMON_H diff --git a/src/compress_common.c b/src/compress_common.c index 682a53c5..bdac4ed9 100644 --- a/src/compress_common.c +++ b/src/compress_common.c @@ -2,25 +2,12 @@ * compress_common.c * * Code for compression shared among multiple compression formats. - */ - -/* - * Copyright (C) 2012, 2013, 2014 Eric Biggers - * - * This file is part of wimlib, a library for working with WIM files. - * - * wimlib is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free - * Software Foundation; either version 3 of the License, or (at your option) - * any later version. * - * wimlib is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. + * Author: Eric Biggers + * Year: 2012 - 2014 * - * You should have received a copy of the GNU General Public License - * along with wimlib; if not, see http://www.gnu.org/licenses/. + * The author dedicates this file to the public domain. + * You can do whatever you want with this file. */ #ifdef HAVE_CONFIG_H diff --git a/src/decompress_common.c b/src/decompress_common.c index 77fdd251..64e171d9 100644 --- a/src/decompress_common.c +++ b/src/decompress_common.c @@ -2,25 +2,12 @@ * decompress_common.c * * Code for decompression shared among multiple compression formats. - */ - -/* - * Copyright (C) 2012, 2013, 2014 Eric Biggers - * - * This file is part of wimlib, a library for working with WIM files. - * - * wimlib is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free - * Software Foundation; either version 3 of the License, or (at your option) - * any later version. * - * wimlib is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. + * Author: Eric Biggers + * Year: 2012 - 2014 * - * You should have received a copy of the GNU General Public License - * along with wimlib; if not, see http://www.gnu.org/licenses/. + * The author dedicates this file to the public domain. + * You can do whatever you want with this file. */ #ifdef HAVE_CONFIG_H