X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fstandalone%2Finterrupt.c;h=6e0086015b7960d6fcf20f774caa8a491b41cb6c;hb=0eba4c41ca18f8f009126dcacc647927accaa63d;hp=f3061d1ec038ada1764e9c3bead01dbd4ae1d3c4;hpb=84efbf4d144ff8aaed3cca036aebb1fe69eff3f4;p=u-boot diff --git a/examples/standalone/interrupt.c b/examples/standalone/interrupt.c index f3061d1ec0..6e0086015b 100644 --- a/examples/standalone/interrupt.c +++ b/examples/standalone/interrupt.c @@ -2,23 +2,7 @@ * (C) Copyright 2006 * Detlev Zundel, DENX Software Engineering, dzu@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * - * 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 2 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, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ * * This is a very simple standalone application demonstrating * catching IRQs on the MPC52xx architecture. @@ -44,7 +28,7 @@ static void irq_handler (void *arg); -int interrupt (int argc, char *argv[]) +int interrupt (int argc, char * const argv[]) { int c, irq = -1;