genksyms: convert to SPDX License Identifier for lex.l and parse.y

I used the C comment style (/* ... */) for the flex and bison files
as in Kconfig (scripts/kconfig/{lexer.l,parser.y})

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2019-09-12 20:45:07 +09:00
parent a3d0cb04f7
commit 77564a4829
2 changed files with 20 additions and 44 deletions

View File

@ -1,25 +1,13 @@
/* Lexical analysis for genksyms. /* SPDX-License-Identifier: GPL-2.0-or-later */
Copyright 1996, 1997 Linux International. /*
* Lexical analysis for genksyms.
New implementation contributed by Richard Henderson <rth@tamu.edu> * Copyright 1996, 1997 Linux International.
Based on original work by Bjorn Ekwall <bj0rn@blox.se> *
* New implementation contributed by Richard Henderson <rth@tamu.edu>
Taken from Linux modutils 2.4.22. * Based on original work by Bjorn Ekwall <bj0rn@blox.se>
*
This program is free software; you can redistribute it and/or modify it * Taken from Linux modutils 2.4.22.
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.
This program 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 this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
%{ %{

View File

@ -1,25 +1,13 @@
/* C global declaration parser for genksyms. /* SPDX-License-Identifier: GPL-2.0-or-later */
Copyright 1996, 1997 Linux International. /*
* C global declaration parser for genksyms.
New implementation contributed by Richard Henderson <rth@tamu.edu> * Copyright 1996, 1997 Linux International.
Based on original work by Bjorn Ekwall <bj0rn@blox.se> *
* New implementation contributed by Richard Henderson <rth@tamu.edu>
This file is part of the Linux modutils. * Based on original work by Bjorn Ekwall <bj0rn@blox.se>
*
This program is free software; you can redistribute it and/or modify it * This file is part of the Linux modutils.
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.
This program 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 this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
%{ %{