X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=contrib%2Fitmdump.c;h=f31e1ff756aba9a6de653e1297af695eaff81823;hb=61d0757acf222fdd5669b471cc251e03101db273;hp=896389416033ab212ffcc6793d3fdce0c1015f66;hpb=e7e13965782a114cca369a71382cd2dd2a7b8da0;p=fw%2Fopenocd diff --git a/contrib/itmdump.c b/contrib/itmdump.c index 896389416..f31e1ff75 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 @@ -39,8 +26,9 @@ #include #include -#include #include +#include +#include #include #include @@ -325,7 +313,7 @@ static void show_timestamp(FILE *f, int c) delayed = true; break; case 0xf: - label = ", packet and timetamp delayed"; + label = ", packet and timestamp delayed"; delayed = true; break; }