diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-12 07:45:07 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-13 22:40:13 -0400 |
commit | 77564a4829ef6d309331d443ea6ceb065f3dc371 (patch) | |
tree | 535a4c8870e1828f36eebde4f93b1f14a925bdac | |
parent | a3d0cb04f7df257b4dffec5e352b8e192824619c (diff) |
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>
-rw-r--r-- | scripts/genksyms/lex.l | 32 | ||||
-rw-r--r-- | scripts/genksyms/parse.y | 32 |
2 files changed, 20 insertions, 44 deletions
diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l index d29c774f51b6..e265c5d96861 100644 --- a/scripts/genksyms/lex.l +++ b/scripts/genksyms/lex.l | |||
@@ -1,25 +1,13 @@ | |||
1 | /* Lexical analysis for genksyms. | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | Copyright 1996, 1997 Linux International. | 2 | /* |
3 | 3 | * Lexical analysis for genksyms. | |
4 | New implementation contributed by Richard Henderson <rth@tamu.edu> | 4 | * Copyright 1996, 1997 Linux International. |
5 | Based on original work by Bjorn Ekwall <bj0rn@blox.se> | 5 | * |
6 | 6 | * New implementation contributed by Richard Henderson <rth@tamu.edu> | |
7 | Taken from Linux modutils 2.4.22. | 7 | * Based on original work by Bjorn Ekwall <bj0rn@blox.se> |
8 | 8 | * | |
9 | This program is free software; you can redistribute it and/or modify it | 9 | * Taken from Linux modutils 2.4.22. |
10 | under the terms of the GNU General Public License as published by the | 10 | */ |
11 | Free Software Foundation; either version 2 of the License, or (at your | ||
12 | option) any later version. | ||
13 | |||
14 | This program is distributed in the hope that it will be useful, but | ||
15 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
17 | General Public License for more details. | ||
18 | |||
19 | You should have received a copy of the GNU General Public License | ||
20 | along with this program; if not, write to the Free Software Foundation, | ||
21 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | ||
22 | |||
23 | 11 | ||
24 | %{ | 12 | %{ |
25 | 13 | ||
diff --git a/scripts/genksyms/parse.y b/scripts/genksyms/parse.y index 1ebcf52cd0f9..e22b42245bcc 100644 --- a/scripts/genksyms/parse.y +++ b/scripts/genksyms/parse.y | |||
@@ -1,25 +1,13 @@ | |||
1 | /* C global declaration parser for genksyms. | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | Copyright 1996, 1997 Linux International. | 2 | /* |
3 | 3 | * C global declaration parser for genksyms. | |
4 | New implementation contributed by Richard Henderson <rth@tamu.edu> | 4 | * Copyright 1996, 1997 Linux International. |
5 | Based on original work by Bjorn Ekwall <bj0rn@blox.se> | 5 | * |
6 | 6 | * New implementation contributed by Richard Henderson <rth@tamu.edu> | |
7 | This file is part of the Linux modutils. | 7 | * Based on original work by Bjorn Ekwall <bj0rn@blox.se> |
8 | 8 | * | |
9 | This program is free software; you can redistribute it and/or modify it | 9 | * This file is part of the Linux modutils. |
10 | under the terms of the GNU General Public License as published by the | 10 | */ |
11 | Free Software Foundation; either version 2 of the License, or (at your | ||
12 | option) any later version. | ||
13 | |||
14 | This program is distributed in the hope that it will be useful, but | ||
15 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
17 | General Public License for more details. | ||
18 | |||
19 | You should have received a copy of the GNU General Public License | ||
20 | along with this program; if not, write to the Free Software Foundation, | ||
21 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | ||
22 | |||
23 | 11 | ||
24 | %{ | 12 | %{ |
25 | 13 | ||