From 382148e4dd437978997d668f6ec715ddcec1c46e Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Tue, 30 Aug 2022 17:01:12 +0200 Subject: 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 Reviewed-on: https://review.openocd.org/c/openocd/+/7153 Tested-by: jenkins --- src/helper/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helper/command.c') 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 * -- cgit v1.1