]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Add missing SPDX headers
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 22 Jul 2023 02:41:37 +0000 (19:41 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 22 Jul 2023 16:30:36 +0000 (09:30 -0700)
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 <daniel@iogearbox.net>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/bpf_util.h
include/cg_map.h
include/json_print.h

index 6a5f8ec6529c319153ad9f4161a9d28346fd31f2..1c924f501f5f6ea638de2794b0e7397c244b88a7 100644 (file)
@@ -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 <daniel@iogearbox.net>
  *             Jiri Pirko <jiri@resnulli.us>
  */
index d30517fd3417e10a789ffe864c7fdd05eeb70036..6293b50ed1c9242b19ced637587a3a94ad884bbf 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __CG_MAP_H__
 #define __CG_MAP_H__
 
index 49d3cc14789cea9a71cd125b9477f3cf531a86d0..0b1d84f787498373ca793360e3cb2d63e83d3f0e 100644 (file)
@@ -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, <julien@cumulusnetworks.com>
  */