From: Stephen Hemminger Date: Sat, 22 Jul 2023 02:41:37 +0000 (-0700) Subject: Add missing SPDX headers X-Git-Tag: v6.5.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=912f5de4aa8d42405e48ed20c360e42199f84b8d;p=thirdparty%2Fiproute2.git Add missing SPDX headers All headers and source in iproute2 should be using SPDX license info. Add a couple that were missed, and take off boilerplate. Acked-by: Daniel Borkmann Signed-off-by: Stephen Hemminger --- diff --git a/include/bpf_util.h b/include/bpf_util.h index 6a5f8ec65..1c924f501 100644 --- a/include/bpf_util.h +++ b/include/bpf_util.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * bpf_util.h BPF common code * - * This program is free software; you can distribute 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: Daniel Borkmann * Jiri Pirko */ diff --git a/include/cg_map.h b/include/cg_map.h index d30517fd3..6293b50ed 100644 --- a/include/cg_map.h +++ b/include/cg_map.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __CG_MAP_H__ #define __CG_MAP_H__ diff --git a/include/json_print.h b/include/json_print.h index 49d3cc147..0b1d84f78 100644 --- a/include/json_print.h +++ b/include/json_print.h @@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* - * json_print.h "print regular or json output, based on json_writer". - * - * 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. + * json_print.h print regular or json output, based on json_writer. * * Authors: Julien Fortin, */