aboutsummaryrefslogtreecommitdiff
path: root/src/helper/command.c
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/helper/command.c
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/helper/command.c')
-rw-r--r--src/helper/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index b5c5459..6898e2d 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+// SPDX-License-Identifier: GPL-2.0-or-later
/***************************************************************************
* Copyright (C) 2005 by Dominic Rath *