diff mbox series

[4/9] wpan-hwsim: switch files to SPDX header for license and copyright

Message ID 20230924122231.716878-5-stefan@datenfreihafen.org (mailing list archive)
State Accepted
Headers show
Series wpan-tools: switch to SPDX header for license and copyright | expand

Commit Message

Stefan Schmidt Sept. 24, 2023, 12:22 p.m. UTC
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
---
 wpan-hwsim/Makefile.am       |  4 ++++
 wpan-hwsim/mac802154_hwsim.h |  4 ++++
 wpan-hwsim/wpan-hwsim.c      | 22 +++++-----------------
 3 files changed, 13 insertions(+), 17 deletions(-)
diff mbox series

Patch

diff --git a/wpan-hwsim/Makefile.am b/wpan-hwsim/Makefile.am
index 0587178..e7ff242 100644
--- a/wpan-hwsim/Makefile.am
+++ b/wpan-hwsim/Makefile.am
@@ -1,3 +1,7 @@ 
+# SPDX-FileCopyrightText: 2018 Alexander Aring <aring@mojatatu.com>
+#
+# SPDX-License-Identifier: ISC
+
 bin_PROGRAMS = wpan-hwsim
 
 wpan_hwsim_SOURCES = wpan-hwsim.c \
diff --git a/wpan-hwsim/mac802154_hwsim.h b/wpan-hwsim/mac802154_hwsim.h
index 6c6e30e..62e6962 100644
--- a/wpan-hwsim/mac802154_hwsim.h
+++ b/wpan-hwsim/mac802154_hwsim.h
@@ -1,3 +1,7 @@ 
+// SPDX-FileCopyrightText: 2018 Alexander Aring <aring@mojatatu.com>
+//
+// SPDX-License-Identifier: ISC
+
 #ifndef __MAC802154_HWSIM_H
 #define __MAC802154_HWSIM_H
 
diff --git a/wpan-hwsim/wpan-hwsim.c b/wpan-hwsim/wpan-hwsim.c
index 0a7c492..e1f2fe5 100644
--- a/wpan-hwsim/wpan-hwsim.c
+++ b/wpan-hwsim/wpan-hwsim.c
@@ -1,20 +1,8 @@ 
-/*
- * Linux IEEE 802.15.4 hwsim tool
- *
- * Copyright (C) 2018 Alexander Aring <aring@mojatatu.com>
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+// SPDX-FileCopyrightText: 2018 Alexander Aring <aring@mojatatu.com>
+//
+// SPDX-License-Identifier: ISC
+
+/* Linux IEEE 802.15.4 hwsim tool */
 
 #include <inttypes.h>
 #include <stdbool.h>