]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
json_writer: add SPDX Identifier (GPL-2/BSD-2)
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 6 Mar 2018 22:39:19 +0000 (14:39 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 6 Mar 2018 22:39:19 +0000 (14:39 -0800)
I wrote this code so put SPDX License on it and intentionally
allow use in BSD code.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/json_writer.h
lib/json_writer.c

index 1516aafba59df7303da7bc590cfee667430a11e0..45459fa2f113d27db1eb05b613922e26344e7b9d 100644 (file)
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
 /*
  * Simple streaming JSON writer
  *
  * This takes care of the annoying bits of JSON syntax like the commas
  * after elements
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
  * Authors:    Stephen Hemminger <stephen@networkplumber.org>
  */
 
index f3eeaf7bc4791f64d871486de85c7b273540c9ae..cddd4dcae7da01d4c6cb88617d7cb540e534d40e 100644 (file)
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
 /*
  * Simple streaming JSON writer
  *
  * This takes care of the annoying bits of JSON syntax like the commas
  * after elements
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
  * Authors:    Stephen Hemminger <stephen@networkplumber.org>
  */