aboutsummaryrefslogtreecommitdiff
path: root/src/helper/replacements.h
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-06-27 00:58:56 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-07-23 13:54:09 +0000
commit533f0f1b879d2812dc9cef2045aee848013c34bd (patch)
tree2cf191703535cb05169d00ef9ac284e3b946c37b /src/helper/replacements.h
parentc270e96637e936ac89d8b9c82e4528303b5bbdae (diff)
downloadriscv-openocd-533f0f1b879d2812dc9cef2045aee848013c34bd.zip
riscv-openocd-533f0f1b879d2812dc9cef2045aee848013c34bd.tar.gz
riscv-openocd-533f0f1b879d2812dc9cef2045aee848013c34bd.tar.bz2
openocd: src/helper: replace the GPL-2.0-or-later license tag
Replace the FSF boilerplate with the SPDX tag. The SPDX tag on files *.c is incorrect, as it should use the C99 single line comment using '//'. But current checkpatch doesn't allow C99 comments, so keep using standard C comments, by now. Change-Id: I7851617e2682f97ccc3927e3941aadef2df63b54 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7068 Tested-by: jenkins
Diffstat (limited to 'src/helper/replacements.h')
-rw-r--r--src/helper/replacements.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h
index 4d70d9c..9eac4d2 100644
--- a/src/helper/replacements.h
+++ b/src/helper/replacements.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
/***************************************************************************
* Copyright (C) 2006 by Dominic Rath *
* Dominic.Rath@gmx.de *
@@ -7,19 +9,6 @@
* *
* Copyright (C) 2008 by Spencer Oliver *
* spen@spen-soft.co.uk *
- * *
- * 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. *
- * *
- * 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, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#ifndef OPENOCD_HELPER_REPLACEMENTS_H