From 2d48b8e012cf99f53cdd2a9130167c075717c7d7 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Tue, 30 Aug 2022 17:25:24 +0200 Subject: contrib: replace the GPLv3-or-later license tag These files are not built in OpenOCD and are not in conflict with OpenOCD license. Replace the GPL boilerplate with the SPDX tag. Add 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: I934e4add24098f0e8574120b3bc32e9bcf166abd Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/7157 Tested-by: jenkins --- contrib/itmdump.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'contrib/itmdump.c') diff --git a/contrib/itmdump.c b/contrib/itmdump.c index 8809904..f31e1ff 100644 --- a/contrib/itmdump.c +++ b/contrib/itmdump.c @@ -1,19 +1,6 @@ -/* - * Copyright (C) 2010 by David Brownell - * - * 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 3 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 . - */ +/* SPDX-License-Identifier: GPL-3.0-or-later */ + +/* Copyright (C) 2010 by David Brownell */ /* * Simple utility to parse and dump ARM Cortex-M3 SWO trace output. Once the -- cgit v1.1