Zstd: Restore SPDX license identifiers

When updating Zstandard to version 1.5.7 the SPDX license identifiers
were lost. This commit restores them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Moch <mail@alexmoch.com>
Closes #18089
This commit is contained in:
Alexander Moch 2025-12-30 19:51:25 +01:00 committed by Brian Behlendorf
parent e7f9734bc7
commit 2d5a9b6a4c
59 changed files with 59 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* bitstream * bitstream
* Part of FSE library * Part of FSE library

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* debug * debug
* Part of FSE library * Part of FSE library

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* Common functions of New Generation Entropy library * Common functions of New Generation Entropy library
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* FSE : Finite State Entropy codec * FSE : Finite State Entropy codec
* Public Prototypes declaration * Public Prototypes declaration

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* FSE : Finite State Entropy decoder * FSE : Finite State Entropy decoder
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* huff0 huffman codec, * huff0 huffman codec,
* part of Finite State Entropy library * part of Finite State Entropy library

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* xxHash - Extremely Fast Hash algorithm * xxHash - Extremely Fast Hash algorithm
* Header File * Header File

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* FSE : Finite State Entropy encoder * FSE : Finite State Entropy encoder
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* hist : Histogram functions * hist : Histogram functions
* part of Finite State Entropy project * part of Finite State Entropy project

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* hist : Histogram functions * hist : Histogram functions
* part of Finite State Entropy project * part of Finite State Entropy project

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* Huffman encoder, part of New Generation Entropy library * Huffman encoder, part of New Generation Entropy library
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* ****************************************************************** /* ******************************************************************
* huff0 huffman decoder, * huff0 huffman decoder,
* part of Finite State Entropy library * part of Finite State Entropy library

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
/* /*
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved. * All rights reserved.

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: BSD-3-Clause
/** /**
* \file zstd.c * \file zstd.c
* Single-file Zstandard library. * Single-file Zstandard library.