From d9d8c8393e02e60a0105e2bf540675ce158c2578 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 6 Mar 2018 14:39:19 -0800 Subject: [PATCH] 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 --- include/json_writer.h | 6 +----- lib/json_writer.c | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/include/json_writer.h b/include/json_writer.h index 1516aafb..45459fa2 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 f3eeaf7b..cddd4dca 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 */