summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-08-02 12:55:08 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-08-12 18:24:38 +0200
commit4188e94626aba41695eac49852c9e21203727e8c (patch)
tree19d0196d8af34b52d56ddaa4b2b67ee5a50f5aef
parentf9d242aed57ce2d41b4b4c5615b1a345d0ad6ee4 (diff)
Add an explicit license boiler plate to all the example programs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--COPYING.md4
-rw-r--r--extras/browse.c6
-rw-r--r--extras/list_files.c6
-rw-r--r--extras/mk42sqfs.c6
-rw-r--r--extras/mknastyfs.c6
5 files changed, 26 insertions, 2 deletions
diff --git a/COPYING.md b/COPYING.md
index d4e73b0..7e11802 100644
--- a/COPYING.md
+++ b/COPYING.md
@@ -61,8 +61,8 @@ If you use those as a basis for writing about SquashFS or this package, please
cite your sources and mark verbatim quotations as such. I won't be angry if you
don't, but a thesis supervisor, reviewer or fellow Wikipedian might be.
-The `extras/extract_one.c` example file is licensed under the **0BSD license**,
-a copy of which can be found in `licenses/0BSD.txt`
+The example programs in the `extras` directory are licensed under
+the **0BSD license**, a copy of which can be found in `licenses/0BSD.txt`.
# Binary Packages with 3rd Party Libraries
diff --git a/extras/browse.c b/extras/browse.c
index 6d03312..fe5bfd8 100644
--- a/extras/browse.c
+++ b/extras/browse.c
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: 0BSD */
+/*
+ * browse.c
+ *
+ * Copyright (C) 2020 David Oberhollenzer <goliath@infraroot.at>
+ */
#include "sqfs/data_reader.h"
#include "sqfs/compressor.h"
#include "sqfs/dir_reader.h"
diff --git a/extras/list_files.c b/extras/list_files.c
index 5f0742d..e368f2a 100644
--- a/extras/list_files.c
+++ b/extras/list_files.c
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: 0BSD */
+/*
+ * list_files.c
+ *
+ * Copyright (C) 2020 David Oberhollenzer <goliath@infraroot.at>
+ */
#include "sqfs/compressor.h"
#include "sqfs/dir_reader.h"
#include "sqfs/id_table.h"
diff --git a/extras/mk42sqfs.c b/extras/mk42sqfs.c
index 08dffe6..d437ce7 100644
--- a/extras/mk42sqfs.c
+++ b/extras/mk42sqfs.c
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: 0BSD */
+/*
+ * mk42sqfs.c
+ *
+ * Copyright (C) 2020 David Oberhollenzer <goliath@infraroot.at>
+ */
#include "sqfs/meta_writer.h"
#include "sqfs/dir_writer.h"
#include "sqfs/compressor.h"
diff --git a/extras/mknastyfs.c b/extras/mknastyfs.c
index 20074d3..ecc6b8a 100644
--- a/extras/mknastyfs.c
+++ b/extras/mknastyfs.c
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: 0BSD */
+/*
+ * mknastyfs.c
+ *
+ * Copyright (C) 2020 David Oberhollenzer <goliath@infraroot.at>
+ */
#include "sqfs/meta_writer.h"
#include "sqfs/dir_writer.h"
#include "sqfs/compressor.h"