aboutsummaryrefslogtreecommitdiff
path: root/src/main.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/main.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/main.c')
-rw-r--r--src/main.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/main.c b/src/main.c
index a437b6b..3bc859a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
/***************************************************************************
* Copyright (C) 2005 by Dominic Rath *
* Dominic.Rath@gmx.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