aboutsummaryrefslogtreecommitdiff
path: root/src/rtt/tcl.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-06-27 01:26:22 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-07-23 13:59:13 +0000
commitb86f296ac6b967fa933ad06a44bf651d9c4a9b09 (patch)
tree39b11d643db7ae0f81361a0afc9dd3d8f843be2f /src/rtt/tcl.c
parent057e566097b41f9bfeee50e97ba6ef624189ae6a (diff)
downloadriscv-openocd-b86f296ac6b967fa933ad06a44bf651d9c4a9b09.zip
riscv-openocd-b86f296ac6b967fa933ad06a44bf651d9c4a9b09.tar.gz
riscv-openocd-b86f296ac6b967fa933ad06a44bf651d9c4a9b09.tar.bz2
openocd: src: 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: I30cd66ac7d737f1973c68fdbb841ffcf00e917c4 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7072 Tested-by: jenkins
Diffstat (limited to 'src/rtt/tcl.c')
-rw-r--r--src/rtt/tcl.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/rtt/tcl.c b/src/rtt/tcl.c
index 4a34d8b..1726d60 100644
--- a/src/rtt/tcl.c
+++ b/src/rtt/tcl.c
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
/*
* Copyright (C) 2019-2020 by Marc Schink <dev@zapb.de>
- *
- * 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/>.
*/
#ifdef HAVE_CONFIG_H