diff options
author | Rich Ercolani <[email protected]> | 2022-03-01 08:32:52 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-03-01 13:55:12 -0800 |
commit | 234e9605c1f2cdf64f13df0697aa5017f416656a (patch) | |
tree | d9dfbb6fe36230d07bd2350e09451e03cc7686ce /module/zstd/lib/zstd.h | |
parent | 669683c4cbcd9c20258ce6641c6c777f29aeb94d (diff) |
Explode zstd 1.4.5 into separate upstream files
It's much nicer to import from upstream this way, and compiles
faster too.
Everything in lib/ is unmodified 1.4.5.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes #12978
Diffstat (limited to 'module/zstd/lib/zstd.h')
-rw-r--r-- | module/zstd/lib/zstd.h | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/module/zstd/lib/zstd.h b/module/zstd/lib/zstd.h index b6772f881..8c6fc6ae9 100644 --- a/module/zstd/lib/zstd.h +++ b/module/zstd/lib/zstd.h @@ -1,37 +1,12 @@ /* - * BSD 3-Clause Clear License + * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * 3. Neither the name of the copyright holder nor the names of its - * contributors may be used to endorse or promote products derived from this - * software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. + * This source code is licensed under both the BSD-style license (found in the + * LICENSE file in the root directory of this source tree) and the GPLv2 (found + * in the COPYING file in the root directory of this source tree). + * You may select, at your option, one of the above-listed licenses. */ - -/* - * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. All rights reserved. - */ - #if defined (__cplusplus) extern "C" { #endif |