[PATCH 7/9] src: switch files to SPDX header for license and copyright

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Stefan Schmidt <stefan@xxxxxxxxxxxxxxxxxx>
---
 src/.gitignore  | 4 ++++
 src/Makefile.am | 4 ++++
 src/event.c     | 4 ++++
 src/info.c      | 4 ++++
 src/interface.c | 4 ++++
 src/iwpan.c     | 3 +++
 src/iwpan.h     | 4 ++++
 src/mac.c       | 4 ++++
 src/nl_extras.h | 4 ++++
 src/phy.c       | 4 ++++
 src/scan.c      | 4 ++++
 src/sections.c  | 4 ++++
 12 files changed, 47 insertions(+)

diff --git a/src/.gitignore b/src/.gitignore
index a0a601d..efe0d9e 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+#
+# SPDX-License-Identifier: ISC
+
 .deps
 iwpan
 *.o
diff --git a/src/Makefile.am b/src/Makefile.am
index 7933daf..23b54db 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+#
+# SPDX-License-Identifier: ISC
+
 bin_PROGRAMS = \
 	iwpan
 
diff --git a/src/event.c b/src/event.c
index 5ec597d..d47e778 100644
--- a/src/event.c
+++ b/src/event.c
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2023 David Girault <david.girault@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #include <net/if.h>
 #include <errno.h>
 #include <stdint.h>
diff --git a/src/info.c b/src/info.c
index 8ed5e4f..8b7e98e 100644
--- a/src/info.c
+++ b/src/info.c
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #include <stdbool.h>
 #include <errno.h>
 #include <net/if.h>
diff --git a/src/interface.c b/src/interface.c
index 85d40a8..c078a25 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #include <net/if.h>
 #include <errno.h>
 #include <string.h>
diff --git a/src/iwpan.c b/src/iwpan.c
index 3cf5fe2..796d380 100644
--- a/src/iwpan.c
+++ b/src/iwpan.c
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
 
 #include <errno.h>
 #include <stdio.h>
diff --git a/src/iwpan.h b/src/iwpan.h
index 406940a..24cc926 100644
--- a/src/iwpan.h
+++ b/src/iwpan.h
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #ifndef __IWPAN_H
 #define __IWPAN_H
 
diff --git a/src/mac.c b/src/mac.c
index 286802c..79b3ab9 100644
--- a/src/mac.c
+++ b/src/mac.c
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #include <net/if.h>
 #include <errno.h>
 #include <string.h>
diff --git a/src/nl_extras.h b/src/nl_extras.h
index 37844f9..2a35f5d 100644
--- a/src/nl_extras.h
+++ b/src/nl_extras.h
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #ifndef __NL_EXTRAS_H
 #define __NL_EXTRAS_H
 
diff --git a/src/phy.c b/src/phy.c
index f97900f..f042588 100644
--- a/src/phy.c
+++ b/src/phy.c
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #include <net/if.h>
 #include <errno.h>
 #include <string.h>
diff --git a/src/scan.c b/src/scan.c
index e92702d..993e367 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2023 David Girault <david.girault@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #include <errno.h>
 #include <inttypes.h>
 #include <net/if.h>
diff --git a/src/sections.c b/src/sections.c
index 40fdc94..8327fea 100644
--- a/src/sections.c
+++ b/src/sections.c
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2014 Alexander Aring <alex.aring@xxxxxxxxx>
+//
+// SPDX-License-Identifier: ISC
+
 #include "iwpan.h"
 
 SECTION(get);
-- 
2.41.0




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux