From: Stephen Hemminger Date: Tue, 6 Mar 2018 22:39:19 +0000 (-0800) Subject: json_writer: add SPDX Identifier (GPL-2/BSD-2) X-Git-Tag: v4.16.0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9d8c8393e02e60a0105e2bf540675ce158c2578;p=thirdparty%2Fiproute2.git json_writer: add SPDX Identifier (GPL-2/BSD-2) I wrote this code so put SPDX License on it and intentionally allow use in BSD code. Signed-off-by: Stephen Hemminger --- diff --git a/include/json_writer.h b/include/json_writer.h index 1516aafba..45459fa2f 100644 --- a/include/json_writer.h +++ b/include/json_writer.h @@ -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 */ diff --git a/lib/json_writer.c b/lib/json_writer.c index f3eeaf7bc..cddd4dcae 100644 --- a/lib/json_writer.c +++ b/lib/json_writer.c @@ -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 */