summaryrefslogtreecommitdiff
path: root/tools/gcc-plugins/frr-format.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-02-08 13:21:36 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-02-09 14:09:07 +0100
commit47a3a8277038ccb042ef8f36eb59ce26bb7e9cdf (patch)
treec9c2a9503efa359cf70dcb2afe6b51b45712658d /tools/gcc-plugins/frr-format.c
parent47b6d5406fbb30707a3ccfda6680ac00c0fd6306 (diff)
*: manual SPDX License ID conversions
The files converted in this commit either had some random misspelling or formatting weirdness that made them escape automated replacement, or have a particularly "weird" licensing setup (e.g. dual-licensed.) This also marks a bunch of "public domain" files as SPDX License "NONE". Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tools/gcc-plugins/frr-format.c')
-rw-r--r--tools/gcc-plugins/frr-format.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/tools/gcc-plugins/frr-format.c b/tools/gcc-plugins/frr-format.c
index 0a24b091a3..2240a171b4 100644
--- a/tools/gcc-plugins/frr-format.c
+++ b/tools/gcc-plugins/frr-format.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
/* Check calls to formatted I/O functions (-Wformat).
Copyright (C) 1992-2019 Free Software Foundation, Inc.
Extended for FRR's printfrr() with Linux kernel style extensions
Copyright (C) 2019-2020 David Lamparter, for NetDEF, Inc.
-
-This file is part of GCC.
-
-GCC 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 3, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.GPLv3. If not see
-<http://www.gnu.org/licenses/>. */
+ */
#include "gcc-common.h"