diff options
Diffstat (limited to 'tools/gcc-plugins')
| -rw-r--r-- | tools/gcc-plugins/frr-format.c | 18 | ||||
| -rw-r--r-- | tools/gcc-plugins/frr-format.h | 18 |
2 files changed, 4 insertions, 32 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" diff --git a/tools/gcc-plugins/frr-format.h b/tools/gcc-plugins/frr-format.h index 599dbc56f9..373ef07242 100644 --- a/tools/gcc-plugins/frr-format.h +++ b/tools/gcc-plugins/frr-format.h @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* Check calls to formatted I/O functions (-Wformat). Copyright (C) 1992-2018 Free Software Foundation, 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 COPYING3. If not see -<http://www.gnu.org/licenses/>. */ + */ #ifndef GCC_C_FORMAT_H #define GCC_C_FORMAT_H |
