aboutgitcodelistschat:MatrixIRC
path: root/common
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-06-04 08:13:23 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-06-04 08:29:05 +0200
commit37e94bd191701a08e0081b2027cfbede6d76a21c (patch)
tree873e2646f52d901c057d40c47499a3f80ba2d23f /common
parent6a8f05f9f0d10b257edce878381bf22b1249537e (diff)
downloadseitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.gz
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.bz2
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.lz
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.xz
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.tar.zst
seitan-37e94bd191701a08e0081b2027cfbede6d76a21c.zip
treewide: Change to GPLv2, add LICENSES, missing headers
As discussed with Alice -- 'reuse lint' passes now. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'common')
-rw-r--r--common/common.c11
-rw-r--r--common/common.h6
-rw-r--r--common/gluten.h4
-rw-r--r--common/util.c2
-rw-r--r--common/util.h2
5 files changed, 21 insertions, 4 deletions
diff --git a/common/common.c b/common/common.c
index f67f175..e13c214 100644
--- a/common/common.c
+++ b/common/common.c
@@ -1,3 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+/* seitan - Syscall Expressive Interpreter, Transformer and Notifier
+ *
+ * common/common.c - Common routines for seitan, seitan-eater and seitan-cooker
+ *
+ * Copyright 2023 Red Hat GmbH
+ * Authors: Alice Frosi <afrosi@redhat.com>
+ * Stefano Brivio <sbrivio@redhat.com>
+ */
+
#define _GNU_SOURCE
#include <stddef.h>
#include <stdio.h>
diff --git a/common/common.h b/common/common.h
index 780f756..5844673 100644
--- a/common/common.h
+++ b/common/common.h
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later
+* Copyright 2023 Red Hat GmbH
+* Authors: Alice Frosi <afrosi@redhat.com>
+* Stefano Brivio <sbrivio@redhat.com>
+*/
+
#ifndef COMMON_H_
#define COMMON_H_
diff --git a/common/gluten.h b/common/gluten.h
index 9aa721c..53782db 100644
--- a/common/gluten.h
+++ b/common/gluten.h
@@ -1,7 +1,7 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later
+/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2023 Red Hat GmbH
* Authors: Alice Frosi <afrosi@redhat.com>
-* Stefano Brivio <sbrivio@redhat.com>
+* Stefano Brivio <sbrivio@redhat.com>
*/
#ifndef COMMON_GLUTEN_H
diff --git a/common/util.c b/common/util.c
index f9423a6..4cb7b7a 100644
--- a/common/util.c
+++ b/common/util.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-License-Identifier: GPL-2.0-or-later
/* seitan - Syscall Expressive Interpreter, Transformer and Notifier
*
diff --git a/common/util.h b/common/util.h
index ad2192b..b11edb6 100644
--- a/common/util.h
+++ b/common/util.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later
+/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2023 Red Hat GmbH
* Author: Stefano Brivio <sbrivio@redhat.com>
*/