aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-12 17:09:10 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-14 18:31:16 +0200
commit22af94128b89a131f5e58ae69bee5e50227c15da (patch)
treeccc9899891b9561873c903ff963e2d3b51030385 /src/common
parentliblzma: Sync the AUTHORS fix about SHA-256 to lzma.h. (diff)
downloadxz-22af94128b89a131f5e58ae69bee5e50227c15da.tar.xz
Add SPDX license identifier into 0BSD source code files.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_w32res.rc2
-rw-r--r--src/common/mythread.h2
-rw-r--r--src/common/sysdefs.h2
-rw-r--r--src/common/tuklib_common.h2
-rw-r--r--src/common/tuklib_config.h2
-rw-r--r--src/common/tuklib_cpucores.c2
-rw-r--r--src/common/tuklib_cpucores.h2
-rw-r--r--src/common/tuklib_exit.c2
-rw-r--r--src/common/tuklib_exit.h2
-rw-r--r--src/common/tuklib_gettext.h2
-rw-r--r--src/common/tuklib_integer.h2
-rw-r--r--src/common/tuklib_mbstr.h2
-rw-r--r--src/common/tuklib_mbstr_fw.c2
-rw-r--r--src/common/tuklib_mbstr_width.c2
-rw-r--r--src/common/tuklib_open_stdxxx.c2
-rw-r--r--src/common/tuklib_open_stdxxx.h2
-rw-r--r--src/common/tuklib_physmem.c2
-rw-r--r--src/common/tuklib_physmem.h2
-rw-r--r--src/common/tuklib_progname.c2
-rw-r--r--src/common/tuklib_progname.h2
20 files changed, 40 insertions, 0 deletions
diff --git a/src/common/common_w32res.rc b/src/common/common_w32res.rc
index 5d616af5..97aa58ae 100644
--- a/src/common/common_w32res.rc
+++ b/src/common/common_w32res.rc
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: 0BSD */
+
/*
* Author: Lasse Collin
*/
diff --git a/src/common/mythread.h b/src/common/mythread.h
index baa3ec84..589901c7 100644
--- a/src/common/mythread.h
+++ b/src/common/mythread.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file mythread.h
diff --git a/src/common/sysdefs.h b/src/common/sysdefs.h
index 44c58259..5f3785b5 100644
--- a/src/common/sysdefs.h
+++ b/src/common/sysdefs.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file sysdefs.h
diff --git a/src/common/tuklib_common.h b/src/common/tuklib_common.h
index a722b66f..7554dfc8 100644
--- a/src/common/tuklib_common.h
+++ b/src/common/tuklib_common.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_common.h
diff --git a/src/common/tuklib_config.h b/src/common/tuklib_config.h
index 9d470ba7..b27251dc 100644
--- a/src/common/tuklib_config.h
+++ b/src/common/tuklib_config.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
// If config.h isn't available, assume that the headers required by
// tuklib_common.h are available. This is required by crc32_tablegen.c.
#ifdef HAVE_CONFIG_H
diff --git a/src/common/tuklib_cpucores.c b/src/common/tuklib_cpucores.c
index d3044e0c..c4a781ac 100644
--- a/src/common/tuklib_cpucores.c
+++ b/src/common/tuklib_cpucores.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_cpucores.c
diff --git a/src/common/tuklib_cpucores.h b/src/common/tuklib_cpucores.h
index 453597d6..edff9395 100644
--- a/src/common/tuklib_cpucores.h
+++ b/src/common/tuklib_cpucores.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_cpucores.h
diff --git a/src/common/tuklib_exit.c b/src/common/tuklib_exit.c
index 9127deb3..c84e0f67 100644
--- a/src/common/tuklib_exit.c
+++ b/src/common/tuklib_exit.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_exit.c
diff --git a/src/common/tuklib_exit.h b/src/common/tuklib_exit.h
index 70d2ec6a..d4e6b4a7 100644
--- a/src/common/tuklib_exit.h
+++ b/src/common/tuklib_exit.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_exit.h
diff --git a/src/common/tuklib_gettext.h b/src/common/tuklib_gettext.h
index 8cbf3dfc..3ef5cb72 100644
--- a/src/common/tuklib_gettext.h
+++ b/src/common/tuklib_gettext.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_gettext.h
diff --git a/src/common/tuklib_integer.h b/src/common/tuklib_integer.h
index 3eb1d511..c0004531 100644
--- a/src/common/tuklib_integer.h
+++ b/src/common/tuklib_integer.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_integer.h
diff --git a/src/common/tuklib_mbstr.h b/src/common/tuklib_mbstr.h
index 3a134d4e..4c8eeb7e 100644
--- a/src/common/tuklib_mbstr.h
+++ b/src/common/tuklib_mbstr.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_mbstr.h
diff --git a/src/common/tuklib_mbstr_fw.c b/src/common/tuklib_mbstr_fw.c
index c1024ce3..22d883b5 100644
--- a/src/common/tuklib_mbstr_fw.c
+++ b/src/common/tuklib_mbstr_fw.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_mbstr_fw.c
diff --git a/src/common/tuklib_mbstr_width.c b/src/common/tuklib_mbstr_width.c
index 5c33d522..7a8bf070 100644
--- a/src/common/tuklib_mbstr_width.c
+++ b/src/common/tuklib_mbstr_width.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_mbstr_width.c
diff --git a/src/common/tuklib_open_stdxxx.c b/src/common/tuklib_open_stdxxx.c
index f425f6c3..b93e61d3 100644
--- a/src/common/tuklib_open_stdxxx.c
+++ b/src/common/tuklib_open_stdxxx.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_open_stdxxx.c
diff --git a/src/common/tuklib_open_stdxxx.h b/src/common/tuklib_open_stdxxx.h
index 576e9f10..3ee3ade3 100644
--- a/src/common/tuklib_open_stdxxx.h
+++ b/src/common/tuklib_open_stdxxx.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_open_stdxxx.h
diff --git a/src/common/tuklib_physmem.c b/src/common/tuklib_physmem.c
index 32ecc8d9..1009df14 100644
--- a/src/common/tuklib_physmem.c
+++ b/src/common/tuklib_physmem.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_physmem.c
diff --git a/src/common/tuklib_physmem.h b/src/common/tuklib_physmem.h
index 0bad0397..f35bfbab 100644
--- a/src/common/tuklib_physmem.h
+++ b/src/common/tuklib_physmem.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_physmem.h
diff --git a/src/common/tuklib_progname.c b/src/common/tuklib_progname.c
index 8dfbbc4b..959c1270 100644
--- a/src/common/tuklib_progname.c
+++ b/src/common/tuklib_progname.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_progname.c
diff --git a/src/common/tuklib_progname.h b/src/common/tuklib_progname.h
index ed20be7c..a3d90cb1 100644
--- a/src/common/tuklib_progname.h
+++ b/src/common/tuklib_progname.h
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: 0BSD
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file tuklib_progname.h