Add SPDX identifier to license headers

SPDX is an ISO standard for describing licenses in a computer readable
format, which is useful when applying license compliance tools and the
like to source code.

In addition to ensuring that the Wuffs C distribution is properly
annotated to the benefit of projects using Wuffs and SPDX-supporting
tools, add it everywhere else where there's a license in this repo for
consistency, too.
This commit is contained in:
Patrick Georgi committed 2023-10-06 20:52:36 +02:00
1 parent 6381a325eb
commit f563f32f82
313 files changed
+634

No files matched your search

+2
View File
@@ -5,6 +5,8 @@
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
pub status "#bad Huffman code (over-subscribed)"
pub status "#bad Huffman code (under-subscribed)"
+2
View File
@@ -5,6 +5,8 @@
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
pri func decoder.flush_fast!(dst: base.io_writer) {
var flush_pointer : base.u32[..= 1_048575]
+2
View File
@@ -5,6 +5,8 @@
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
pri func decoder.flush_slow?(dst: base.io_writer) {
var flush_pointer : base.u32[..= 1_048575]
+2
View File
@@ -5,6 +5,8 @@
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
pri func decoder.decode_huffman_fast!(src: base.io_reader) base.status {
var bits : base.u32
+2
View File
@@ -5,6 +5,8 @@
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
pri func decoder.decode_huffman_slow?(src: base.io_reader) {
var c : base.u8