X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_terminal.c;h=4b9c0b34dec2e3956d800f373e98e1d389d71a06;hb=4ca0c3c993436cca743ed521e7f3d784d7fe31c8;hp=60ec378b3c93a40eea63025d9af2506dd09d3df9;hpb=cb32ed1fc298875845f166d326a3f2704a0d5364;p=u-boot diff --git a/common/cmd_terminal.c b/common/cmd_terminal.c index 60ec378b3c..4b9c0b34de 100644 --- a/common/cmd_terminal.c +++ b/common/cmd_terminal.c @@ -2,23 +2,7 @@ * (C) Copyright 2007 OpenMoko, Inc. * Written by Harald Welte * - * 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+ */ /* @@ -29,7 +13,7 @@ #include #include -int do_terminal(cmd_tbl_t * cmd, int flag, int argc, char *argv[]) +int do_terminal(cmd_tbl_t * cmd, int flag, int argc, char * const argv[]) { int last_tilde = 0; struct stdio_dev *dev = NULL;