aboutsummaryrefslogtreecommitdiff
path: root/src/rtt
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2022-08-30 17:01:12 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2022-09-18 08:22:01 +0000
commit382148e4dd437978997d668f6ec715ddcec1c46e (patch)
tree553bd10c7ebe78167cf19b06d5d21c9af4b8e241 /src/rtt
parent5be78fafa9b7c9354956fa72c69dbb82338f6e4a (diff)
downloadriscv-openocd-382148e4dd437978997d668f6ec715ddcec1c46e.zip
riscv-openocd-382148e4dd437978997d668f6ec715ddcec1c46e.tar.gz
riscv-openocd-382148e4dd437978997d668f6ec715ddcec1c46e.tar.bz2
openocd: fix SPDX tag format for files .c
With the old checkpatch we cannot use the correct format for the SPDX tags in the file .c, in fact the C99 comments are not allowed and we had to use the block comment. With the new checkpatch, let's switch to the correct SPDX format. Change created automatically through the command: sed -i \ 's,^/\* *\(SPDX-License-Identifier: .*[^ ]\) *\*/$,// \1,' \ $(find src/ contrib/ -name \*.c) Change-Id: I6da16506baa7af718947562505dd49606d124171 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7153 Tested-by: jenkins
Diffstat (limited to 'src/rtt')
-rw-r--r--src/rtt/rtt.c2
-rw-r--r--src/rtt/tcl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rtt/rtt.c b/src/rtt/rtt.c
index 7e75571..e31e754 100644
--- a/src/rtt/rtt.c
+++ b/src/rtt/rtt.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2016-2020 by Marc Schink <dev@zapb.de>
diff --git a/src/rtt/tcl.c b/src/rtt/tcl.c
index 1726d60..7cbdccf 100644
--- a/src/rtt/tcl.c
+++ b/src/rtt/tcl.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2019-2020 by Marc Schink <dev@zapb.de>